Examples don't use .env file + db user mismatch
rgriffogoes opened this issue · comments
I'm kinda new with docker but it seems that current examples instruct to download the .env file and define some proper settings in it, but the actual docker-compose.yml
file doesn't use it (tested the simple)
I checked by running docker-compose config
and all the env variables in the .env file are not used.
Checking compose docs I saw that we could use env_file
to provide an external file for the vars.
After adding
env_file: - .env
in the compose file, and running docker-compose config, I get to see all variables defined (and the application pick it up).
---- edit
Also, the DB user in the example .env doesn't match the example db user in docker file
let me know if I can update the examples and submit a pr
This is the one app I've never been able to get running in docker, im guessing this might be why