DEV Community

Discussion on: Deploying A Private Storage Cloud (SeaFile) Using Docker

Collapse
 
roestvrijstaal profile image
RoestVrijStaal

I think it's a better idea to give each service an own env file to pass the required info to the service, instead of editing a file which is subjected under version control.

If that's too complicated for you, a docker-compose.override.yml will work fine as well.

The core idea is to keep the configuration dynamic and prevent harm of an accidental commit + push.

Collapse
 
cedon profile image
Carlos Nogueira

thanks, i'll fix it