We should change the db docker container to use the same .env file that the web container reads, so that we're not hard-coding the values in the docker-compose.yml file.
Action Items
[ ] change docker-compose.yml to reference the .env.docker file
[ ] change the .env.docker-example file to contain the variables the db container needs
[ ] change the django settings naming of the database variables to what the db container uses
Resources/Instructions
the db container should have an env_file key like the web container does
Overview
We should change the
db
docker container to use the same.env
file that theweb
container reads, so that we're not hard-coding the values in thedocker-compose.yml
file.Action Items
docker-compose.yml
to reference the.env.docker
file.env.docker-example
file to contain the variables thedb
container needsdb
container usesResources/Instructions
db
container should have anenv_file
key like theweb
container does