Repository navigation
Stack in git repo #36
Replies: 17 comments 6 replies
|
On the other hand you could also just clone a remote repo to the local my stack and just have some kind of git add . and commit to remote. |
|
I'm also keen on a stack git back end. |
|
Also interested in this! Would love some sort of bidirectional sync so changes in git would get pulled (via polling or maybe even a webhook), and changes from dockge would get pushed :) |
|
+1 to this as well, being able to house my compose files in something like gitea and deploy a stack that way is one of the major portainer features I use. |
|
Also support this |
|
For supporting push-based, PaaS-style "GitOps" with Compose files, there is antoniomika/pcompose, from which bits of logic could be ported or taken inspiration from. Pull-based syncing involves a lot of repository handling, from what I can tell from experiences with ArgoCD, esp. around authentication and secrets management. |
|
Just found this discussion, and I feel it's so similar to something I have in mind, that another request would be unnecessary. On my end, I would love to have the ability to
For the clone action, one could theoretically specify the repo url and provide credentials in some way (if needed), which would be then archived for later use. For the pull action, the credentials could be reused.
I, for one, wouldn't want to have changes pushed to git, so something like this would allow the behaviour to be pretty customizable.
What if the standard git binary was used? Dockge already manages stacks by invoking docker-compose, from what I can tell. |
|
Probably not quite what you're looking for but I missed the GitOps functionality when switching from Portainer. I have no compose files locally, they're all in git. Basically polling the repo and updating my stacks if there are change is all I need. Wrote a simple container that I run together with the Dockge one to handle this. Note that the functionality is very limited but it does enough for me to completely replace Portainer with Dockge. It will ignore your local changes though and replace them if there are changes in the git repo. |
|
It would be really cool. Maybe instead of handling entire git repo (which would be ideal, especially if I could point to individual paths on that repo) let's start with simple That is: for given stack, dockge pulls every n minuts/hours/whatever from particular endpoint. It could check updates based on checksuming what's locally in stack vs what's received (I think compute power for this wouldn's be too much, but not sure) if there's difference, replace local file (if not read only) and redeploy. I know it doesn't take into consideraiton rollbacks, newer commits etc. but sounds really simple in implementation. And if something you can always roll back on branch itself. |
|
I also would love to see some kind of gitops functionality. This would be a killer feature. |
|
Just wanna put my two cents here that I think there are two separate feature requests here.
|
|
I wanted to see if there was any traction on this feature. I have been using a utility called Dokemon (https://github.com/productiveops/dokemon), which is very similar to Dockge, except it has a setup for managing multiple docker hosts in one console (with an Agent type setup), as well as the ability to point my compose library to Github. Unfortunately, the owner of the repo, has had to step away so there has been no development for a while. Any thoughts on getting this feature in Dockge? thanks |
|
+1 What i prepose one repo for multiple servers. But that each server is standalone when it comes to checking if there are updates via button in the web interface, and maybe an automated check and fetch compose up on a configurable variable.
|
|
Any update on this guys? I would love to have this feature |
|
I just wanted to throw in my support for this idea. Currently, I use Portainer, but I'm not in love with all the decisions that it makes. If dockge could do something more sophisticated with its git integration, then I'd jump ship in a heartbeat. Right now, I'm using a Gitea instance to hold my compose files in a repo. In particular, @Roundaround's suggestion of a manual git interface in the WebUI would be perfect for me. I use Portainer's GitOps webhooks to automatically update my containers, when I push updates to the repo, but that's really a minor benefit given that I'm a one-man hobbyist with a home-lab. It would be trivial to manually trigger an update in dockge after committing the changes to the repo. And it would also be amazing to have a purpose-built web-based GUI to edit the compose files, so I can quickly make changes from work or on the road when I have some time to play around with the home lab (as opposed to using the rather clunky Gittea interface). |
|
I have made the flip to Komodo 100%, and I'm on scratching the surface.
There are aspects of dockge I enjoyed, but the guy integration flipped it
for me
App
*Don't hold onto a mistake just because you spent a long time making it. *
Aaron Perrault
***@***.***
…On Tue, Dec 2, 2025, 18:47 BadCo-NZ ***@***.***> wrote:
Have you looked at Komodo? It is very git focused. I also used Poratainer
but the workflow for adding a stack from git was painful, so I manual
manage my stacks now. Komodo looks like a good option for a bit based
workflow instead of dockge.
—
Reply to this email directly, view it on GitHub
<#36 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLHMYQ4WRE2PAIBUNRNAWL37YQJ7AVCNFSM6AAAAACN2Z7X5CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJUGE2DENA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Hi, added to my Enhanced fork. |

Uh oh!
There was an error while loading. Please reload this page.
As the subject says could we have the functionality to point my stack root to some git url maybe even with ref branch? Any new stack would trigger a commit to branch/repo
All reactions