Git repo and stacks #264
Replies: 2 comments 5 replies
-
Stacks in repo mode will clone the entire repo for each Stack, and is designed more with single stack repos in mind, not monorepos. But you can also use the Repo resource to clone the repo, and make a Procedure which first |
Beta Was this translation helpful? Give feedback.
-
sorry to necro an old post. But I'm in the process of migrating over from portainer and I don't want to reinvent the wheel. I have as well everything in one repository but what is the best practice? Any examples available? The documentation is quite simple. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have all my compose files organized in one repo. I was able to get a stack going with Komodo pulling everything in /etc/k../stacks/mystack, all good. I'm confused as building another stack will pull the full repo again in /etc/k../stacks/my2stack.
Is recommended practice instead to pull the repo once (with cron updates) and use the "file on server" option to locate the compose files?
Beta Was this translation helpful? Give feedback.
All reactions