Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

create a docker dedicated .env file #618

techws-dev started this conversation in Ideas
Discussion options

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):

env_file:
 - path: ./docker.env
 required: false

There could be some benefits:

  • separate project environment from infrastructure environment
  • group options in one file
  • not pollute Symfony project .env files

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)

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /