Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use env_file in compose.yml to add env variables #229

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

IktaS
Copy link

@IktaS IktaS commented Oct 10, 2023

Noticed some missing env variable when deploying my instance. Added them to compose.yml

@IktaS
Copy link
Author

IktaS commented Oct 10, 2023

Fixes #221

@kwiniarski97
Copy link
Contributor

Why just don't pass down whole .env file like this: https://docs.docker.com/compose/environment-variables/set-environment-variables/#use-the-env_file-attribute?

@IktaS IktaS reopened this Oct 29, 2023
@IktaS
Copy link
Author

IktaS commented Oct 29, 2023

@kwiniarski97 's suggestion makes sense, this would make it easier to maintain future ENV variables as well. Changing the PR for those changes

@IktaS IktaS changed the title add missing env variable to compose.yaml Use env_file in compose.yml to add env variables Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants