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 docker compose profiles #67

Open
jeremyestein opened this issue Oct 10, 2024 · 0 comments
Open

Use docker compose profiles #67

jeremyestein opened this issue Oct 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jeremyestein
Copy link
Collaborator

Rather than using the global config to selectively including docker-compose.yaml files to enable or disable services, have a look at docker compose profiles.

https://docs.docker.com/compose/how-tos/profiles/
https://stackoverflow.com/a/66902046

This avoids the problem of:
You want to run validation including waveform, but don't want to build during the validation command (build is buggy).
But waveform is disabled in global config. Validation command should override this setting, but only for running the service, not building it. So you'll be running with an old version.
Workaround is to tempoarrily turn waveform on in the config just for the build command.

@jeremyestein jeremyestein added the enhancement New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant