This PR goes through and removes all env vars defined in .env.example (by default) from docker-compose.yml, so the settings in .env.prod or similar env files have effect.
Naturally, more variables can be added to .env.example and removed from the docker-compose.yml if you want to make them easier for users to customize.
According to https://docs.docker.com/compose/environment-variables/envvars-precedence/, anything set in the
environment
section ofdocker-compose.yml
overrides anything specified in an env file (such as.env.prod
for selfhosters).This PR goes through and removes all env vars defined in
.env.example
(by default) fromdocker-compose.yml
, so the settings in.env.prod
or similar env files have effect.Naturally, more variables can be added to
.env.example
and removed from thedocker-compose.yml
if you want to make them easier for users to customize.