htdvisser / taiga-docker

[NOT MAINTAINED] Taiga project management platform for Docker
MIT License
83 stars 67 forks source link

ENV vars #18

Open rjpalermo1 opened 8 years ago

rjpalermo1 commented 8 years ago

So I finally got your image up and running - thank you.

One issue I found though was that the ENV vars I am setting in the docker-compose are not copying correctly to the server dockerenv.py. I found this out sending myself an invitation and hitting reply tried to forward to http://dev/invitation/89a88866-1b3b-11e6-aeab-0242ac110002 instead of my FQDN dev.mysite.com

I went in the container and replaced those images but when I restart I guess it reads the vars from the docker image and overwrites them again.

rjpalermo1 commented 8 years ago

FYI here's a snip of the dockerenv.py

HOST = 'http://dev/'

MEDIA_ROOT = '/usr/local/taiga/media'
MEDIA_URL = 'http://dev/media/'
rjpalermo1 commented 8 years ago

So the fix is to add

API_DOMAIN: "dev.mysite.com" FRONT_DOMAIN: "dev.mysite.com"

to your Docker Compose and docker up again...all good now

lenybernard commented 8 years ago

Thank you, would you please open a PR to add the fix ?

@htdvisser there isn't any docker-compose file but a taiga.yml file, why ? Shouldn't we add a docker-compsoe file to ease setup ?

htdvisser commented 8 years ago

@lenybernard that's because when I made it, it was meant as an example. Feel free to rename it. Also, there are inline copies in the README, maybe we could remove those as well and link to the docker-compose.yml