Skip to content

feat: docker compose profiles#4606

Open
jr-k wants to merge 2 commits into
Dokploy:canaryfrom
jr-k:compose-profiles
Open

feat: docker compose profiles#4606
jr-k wants to merge 2 commits into
Dokploy:canaryfrom
jr-k:compose-profiles

Conversation

@jr-k

@jr-k jr-k commented Jun 9, 2026

Copy link
Copy Markdown

What is this PR about?

Adds a per-compose-service Compose Profiles setting that activates one or more docker compose profiles at deploy time.

Only services tagged with a matching profiles: entry (plus services with no profile, which always run) are brought up. This lets users keep a single docker-compose.yml for multi-environment / multi-flavor stacks (e.g. dev vs gpu vs debug) and pick the slice they want to deploy from the Dokploy UI, without forking the file or overriding the run command.

The field is optional: empty value preserves the existing behavior (all services deployed).

Checklist

Before submitting this PR, please make sure that:

  • You created a dedicated branch based on the canary branch.
  • You have read the suggestions in the CONTRIBUTING.md file https://github.com/Dokploy/dokploy/blob/canary/CONTRIBUTING.md#pull-request
  • You have tested this PR in your local instance. If you have not tested it yet, please do so before submitting. This helps avoid wasting maintainers' time reviewing code that has not been verified by you.

Issues related (if applicable)

Screenshots (if applicable)

@jr-k jr-k requested a review from Siumauricio as a code owner June 9, 2026 16:03
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. enhancement New feature or request labels Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant