docker icon indicating copy to clipboard operation
docker copied to clipboard

Examples don't use .env file + db user mismatch

Open rgriffogoes opened this issue 4 years ago • 1 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

rgriffogoes avatar Aug 06 '21 02:08 rgriffogoes

This is the one app I've never been able to get running in docker, im guessing this might be why

kavemang avatar Oct 08 '21 03:10 kavemang