mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-16 12:22:59 -05:00
Deploy Stack to Server Group or Specific Tag #220
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jo-chemla on GitHub (Feb 18, 2025).
It would be useful to add the ability to deploy a docker-compose stack(s) to multiple server resources at once. This could be done by adding another Resource type, namely
Server Groups, or relying on tags to do so. The UI to select where to deploy the stack could remain as-is, with the ability to select in addition to servers, either a tag or server group.The way Portainer uses Edge Agents Groups is a bit convoluted (Static via selection of all agents, or Dynamic based on filtering via tags), but can be a good start for the inspiration - see the blog posts part 1 / part 2, guide and doc.
A similar feature has been discussed in Procedure Filters here https://github.com/moghtech/komodo/issues/44
@Eldiabolo21 commented on GitHub (Mar 8, 2025):
I was just looking for the same!
I wouldn't want Komodo to become another container orchestrator, but simple functionality run a container with the same parameters on mulitple hosts would be great!
@Badn1nja commented on GitHub (Mar 10, 2025):
This would be a really cool feature. I think it could be implemented by repeating a deployment for the servers selected in the deployment where at the moment it's 'deployment per server'
@huzky-v commented on GitHub (Mar 18, 2025):
Just my experience. If you want to kind of "batch-deploy" the stack by tag name, you can do it by "Actions" with something like that:
where the stack tagged in Komodo is
auto-deployLittle bit of code involved, but works for me
@nano9g commented on GitHub (Jun 14, 2025):
In case it’s helpful to anyone, I ran into this recently and wrote an action that will clone stacks between servers based on tags.
@danielwerner86 commented on GitHub (Jun 30, 2025):
I'd just like to agree that this would be an awesome feature.
Instead of a dropdown with the server you want to deploy on, you could select multiple servers and deploy on all.