Doveps / mono

Code for Doveps projects
http://doveps.com
MIT License
0 stars 0 forks source link

Savant reads db configuration file from Docker volume #109

Closed greenmoss closed 6 years ago

greenmoss commented 6 years ago

Right now, the docker-compose.yml has no way to read an external configuration file. Please explore using docker volumes to make this happen. We want the db_config_travis.json file to be copied via a volume.

greenmoss commented 6 years ago

Found this link: https://dantehranian.wordpress.com/2015/03/25/how-should-i-get-application-configuration-into-my-docker-containers/

greenmoss commented 6 years ago

I did this by copying the db_config_docker.json within the Dockerfile. It's maybe a bit cheat-y, but it will do for now to get us past Docker roadblocks.