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.
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.
thanks, i'll fix it