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

Make setup scripts and configuration files optionally point to environment variables. #127

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

WouterSpaak
Copy link
Contributor

Fixes #126

@@ -92,7 +102,7 @@ services:
networks:
- omotes
volumes:
- "${WORKFLOW_SETTINGS_FILE}:/config/workflow_config.json"
- "${WORKFLOW_SETTINGS_FILE:?}:/config/workflow_config.json"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that adding :? will cause docker compose to exit to stderr when the environment variable isn't found.

@WouterSpaak WouterSpaak merged commit 5746e47 into main Dec 5, 2024
1 check passed
@WouterSpaak WouterSpaak deleted the WouterSpaak/issue126 branch December 5, 2024 14:22
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.

Make setup scripts and configuration files optionally point to environment variables.
2 participants