Skip to content
Discussion options

You must be logged in to vote

The Compose Type is set only at creation time — it's a dropdown in the "Add Compose" dialog when you first create the service. Once created, it cannot be changed and only appears as a read-only badge in the General tab under "Deploy Settings" [1] [2].

So if you created your Compose service with the default "Docker Compose" type, there's no way to switch it to "Stack" after the fact from the UI. You'd need to delete the compose service and recreate it, selecting "Stack" in the Compose Type dropdown during creation.

That said, keep in mind the Stack mode limitations I mentioned earlier (no build directive, Traefik labels must go under deploy.labels, etc.). If you need to build from source …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@WailRoth
Comment options

@dosubot
Comment options

Answer selected by WailRoth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant