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

CUSTOM_UP_COMMAND and SERVICE_UP_ONLY #178

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

grepler
Copy link

@grepler grepler commented Jan 6, 2024

Two additions:

CUSTOM_UP_COMMAND

If CUSTOM_UP_COMMAND is included in .compose-cd, then instead of running the normal docker compose up -d command within the directory, an alternate command can be supplied.
This is useful when using a secrets manager or injecting other .envs.

Documentation on this use case has been added to the README.md.

SERVICE_UP_ONLY

If .compose-cd includes SERVICE_UP_ONLY=true, then docker compose will not bring down the containers.

This is useful for example if you are running traefik as a compose-cd managed stack, and it is also used to expose the secrets store (Vault, 1Password Connect, etc.. If you take the stack down then compose-cd will be unable to resolve the secrets needed to bring it back online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant