create a docker dedicated .env file #618
techws-dev
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There are many environment variables in this project specific to environment configuration in compose files.
It could be great to make a docker.env.default file default options, and add env_file option to compose.yaml (under php service):
There could be some benefits:
With the same idea DATABASE_URL could be removed from compose.yaml, because it's defined in Symfony env files (and in docker-entrypoint.sh it's already checked on the .env file)
Beta Was this translation helpful? Give feedback.
All reactions