ChurchCRM / Docker

Docker Setup of Church CRM
0 stars 20 forks source link

Link the Docker containers #2

Closed crossan007 closed 7 years ago

crossan007 commented 7 years ago

Link the database and web app container so that the initial setup is not necessary, since the CRM Administrator is setting the password at the time he/she provisions the database.

See documentation here regarding linking docker containers and sharing environment variables; http://www.shogan.co.uk/docker/deploying-a-simple-linked-container-web-app-with-docker/

jaskipper commented 7 years ago

I'm leaving this open because we need to figure out a more secure way of automatically setting up the database. Getting the ENV from the linked container turns out to me incredibly insecure, and it is not working in docker-compose V2 on. Docker is trying to get rid of that way of working, because of the security holes it causes.

jaskipper commented 7 years ago

Fixed w/ the .env file in #5