Monorepo, deploy many docker-compose files into isolated stacks #1442
Answered
by
kimdre
ChrisRichner
asked this question in
Q&A
|
How can I deploy each I have a monorepo with multiple services, each with its own name: docker-nas
reconciliation: true
compose_files:
- caddy/docker-compose.yaml
- dawarich/docker-compose.yaml
- docmost/docker-compose.ymlHowever, all services are being deployed into a single stack named "docker-nas" in Portainer. Is there a way to deploy each What am I missing in my setup? Thanks for sharing this awesome Tool and take the time to answer my question. |
Answered by
kimdre
Jun 14, 2026
Replies: 1 comment 1 reply
|
Hi yes you need to write them using multiple yaml "documents" and specify the working directory: https://doco.cd/latest/Deploy-Settings/#multiple-service-deployments name: caddy
reconciliation: true
working_dir: caddy
---
name: dawarich
reconciliation: true
working_dir: dawarich
---
name: docmost
reconciliation: true
working_dir: docmost |
1 reply
Answer selected by
ChrisRichner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi yes you need to write them using multiple yaml "documents" and specify the working directory: https://doco.cd/latest/Deploy-Settings/#multiple-service-deployments