Jump to content

Kru-x

Community Developer
  • Posts

    242
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Kru-x

  1. Giday,

     

    I have made a template for the official wordpress and it works great when I use the path to the containers /var/www/html folder and mount it to my appdata folder. Now I want to mount the root folder "/var/www' to my appdata folder instead but that just wont work, the files and folders in /html is not mounting, just the folder itself aka it is empty in my appdata folder.  Some weird docker issue I guess! Any clues?

  2. Quote

     

    Giday,

     

    I have made a template for the official wordpress and it works great when I use the path to the containers /var/www/html folder and mount it to my appdata folder. Now I want to mount the root folder "/var/www' to my appdata folder instead but that just wont work, the files and folders in /html is not mounting, just the folder itself aka it is empty in my appdata folder.  Some weird docker issue I guess! Any clues?


     

    Sorry Wrong forum, posted in general support! Delete someone?

  3. Quote

     

    I have a problem that I don’t know how to handle in unraid, I have one docker container with a WordPress site with IP 192.168.1.100:8080 and it is behind a revers nginx proxy and it works mint. Now I would like to use another docker container with WKHTMLTOPDF to connect through the IP address to WP (above container) but when I try that, it points to the localhost address that unraid uses so it won’t work and I can’t point to my domain address as I have been told that a container can’t go out on internet and back again on the same domain, apparently a security issue.

     

    I guess on a "normal" webserver you would add your domain address in hosts to point to the IP address but in unraid it uses the locahost internal network. So my head is spinning trying to figure out how I can route the internal ip address to that container or how I could change to a different ip for that container, have looked at the "routing table" but again my head is not set for networking so I don’t get it. 

     

    Any pointers?


     

    My questions seemed to be to out there as I got no answer, sorry about that. 

     

    To simplify and make it more general,

     

    1. It seem like unraid prevent the server from calling back into itself, is there anywhere I can change this  behaviour as I have two docker container moaning about it?

    2. I guess it is not recommended as it is a security feature but why? Can i work around it?

  4. 4 hours ago, noja said:

    Hey Kru-x,

     

    Surprisingly, I don't have any issues at all.  I installed the mongo-db and Wekan and they are both just working.  Which means, THANK YOU! 

    I do have a question though, is the mongo db usable for any other dockers or is it somehow locked in for just your wekan repo? 

     

    Again, thanks a million :)

     

     

    Glad it worked,

     

    The DB can be used for anything, it is the official release of MongoDB for docker and apparently it is one of the most popular docker containers out there. For what I do not know!

     

    Kru-X 

  5. Quote from: JK on Today at 05:35:00 PM

     

        The mongoDB is one of the most popular on docker hub and should be able to be used for other applications as well and that's why I would like to take away the linking and use its ip address instead but this is how they did the image for Wekan and i don't know if it can be done without making a new image for it.

     

     

    I can't see what difference it makes whether you link to it by name or ip personally.  When I've installed this here I've renamed it mongodb (I never use capitals in my Linux system, makes life easier for me)  so I linked to the mongodb like this.

     

    Code: [select]

     

    --link "mongodb:db"

     

     

    Haven't quite worked out if I could link a second container to the same MongoDB container, I'm not sure it is possible.  But I'm learning this stuff too...

     

    The problem is that the image is made with a --link statement where the name of the database has the be the same name as the database and that creates the problem with unRAID templates if someone wants to name the mongo database just like you did, you have to know that the option is in the Extra Parameters, I didn't even know it was there until I started. It would be a nice feature of unRAID if you could choose the --link command just as you can with a variable. Would be easier for a nob like me! :P 

     

    Let me get this straight..... YOU made it easier for your wife to give you jobs to do.... You mad?!  ;D

     

    I know it's my self-destructive way, but I figured I can delete tasks she can't ::) I can just sit at the computer and assign here a task "bring me a beer, babe!" and she gets the email right away, then it is just to wait for the beer come flying over the room. 8)

  6. Thank's CHBMB,

     

    please bear with me, i am new to github and pulling my hair out to understand it. I saw you deleted the "<HostDir>/mnt/user/appdata/MongoDB/</HostDir>" but isn't this necessary for keeping the data? if the container is deleted or updated the data would be lost? That's why i used it.

     

    The mongoDB is one of the most popular on docker hub and should be able to be used for other applications as well and that's why I would like to take away the linking and use its ip address instead but this is how they did the image for Wekan and i don't know if it can be done without making a new image for it. OR even better if it was added as a variable in unraid as there is quite a few images that uses linking (maybe there is a way that I have not found yet)

     

    Wekan is the easiest and non frill Kanban board i found, needed a easy one for my wife to give me my "tasks" :-[ when I get home :o

     

    Ill work on it and all your points are very valid, thanks!

  7. Giiday chaps,

     

    I have created a docker template for the brilliant kanban style board "Wekan" https://wekan.io to get it to work in my unraid server and it is working mint on my setup.

     

    This is to add Maxime Quandalle's image to unRAID. All credit for the images goes to Maxime and the wekanteam

     

    9th of April 2019:

     

    I have now updated my repo and are using the container from the wekanteam/wekan.

     

    Until the Community Application has merge the changes you can install the container by:

    Installation Go to the unRAID control panel -> extensions -> Docker In the textarea for Template repositories add https://github.com/Kru-x/unraid-docker-templates and press save.

     

    Use the MongoDB container from Taddeusz' Repository, can as well be found in Community Applications.

     

     

    Thanks

  8. I am trying to make a xml template to add a the docker image Wekan, I need to link the container to another container with a mongoDB but can not figure out how I am gong to do that in the "add Container" in unraid. The code I use for inserting the docker image in CLI is:

     

    docker run -d --name wekan --link "wekan-db:db" -e "MONGO_URL=mongodb://db" -e "ROOT_URL=http://192.168.1.100:5555" -p 5555:80 mquandalle/wekan

     

    I guess it is a variable,

    So how would the variable look for:

    1. --link "wekan-db:db"

    2. "MONGO_URL=mongodb://db"

    3. ROOT_URL=http://192.168.1.100:5555"

     

    Thanks,

    J

  9. Thanks trurly & bah1976,

     

    I am an idiot, didn't realize, I have a ordinary Linux Debian server and I was happily unaware of Unraid until now when I was wondering how all people that posted with pictures had this fancy UI!  :P

     

    Live and learn, will for sure convert to Unraid when I front of my server, I get it now after reading your posts.

     

    Cheers,

    JK

     

    Hi all,

    I have some problemos starting the container and I bet it has something to do with permission of folders. I try to attach the folder /db to /home/username/docker/mythtv/db and /home/mythtv to the /home/username/docker/mythtv. So my run looks like:

    docker run \

        --name=mythtv \

        -v  /home/username/docker/mythtv/db:/db \

        -v /home/username/docker/mythtv:/home/mythtv\

        sparklyballs/sparkly-mythtv

     

    It has worked on other images, bit this one has me stuck and it stops and tells me waiting, waiting etc, could some gentle sole push me in the right direction? Ohh, yes i am a virgin at docker but keen to learn.

     

    Thanks in advance,

    JK

  10. Hi all,

    I have some problemos starting the container and I bet it has something to do with permission of folders. I try to attach the folder /db to /home/username/docker/mythtv/db and /home/mythtv to the /home/username/docker/mythtv. So my run looks like:

    docker run \

        --name=mythtv \

        -v  /home/username/docker/mythtv/db:/db \

        -v /home/username/docker/mythtv:/home/mythtv\

        sparklyballs/sparkly-mythtv

     

    It has worked on other images, bit this one has me stuck and it stops and tells me waiting, waiting etc, could some gentle sole push me in the right direction? Ohh, yes i am a virgin at docker but keen to learn.

     

    Thanks in advance,

    JK

×
×
  • Create New...