bob5ec / docker-infrastructure

2 stars 0 forks source link

Test Docker Compose file #55

Closed bob5ec closed 4 years ago

bob5ec commented 5 years ago
bob5ec commented 5 years ago

Ideas from https://theagileadmin.com/2015/11/12/templating-config-files-in-docker-containers/

  1. Use Docker envirounment variables

  2. Use a templating engine inside the docker container to bring vars into files during start up

  3. Read variables from prod/test config file outside of the docker container and provide it to docker (e.g. by .env files)