Anyway to use Dockge to consolidate Stacks? #600
Replies: 3 comments 2 replies
-
Have you look in /data/compose/ |
Beta Was this translation helpful? Give feedback.
-
When using portainer, if you added a stack manually by using add stack and then pasted in a compose file, then you can use the same compose file in Dockge, by using the '+compose' button. Plus as 'huuscript; says have a look at where you stored locally (rleft hand path) to 'data/' from your portainer compose file. If you used a appdata folder in portainer, then all your data is there and you just point dockge there from your dockge.yml file. Might be worth posting your compose.yml that span up portainer and you compose.yml file that span up dockge. |
Beta Was this translation helpful? Give feedback.
-
As with most things Homelab, there is nearly always more than one way of doing something. :) Plus I also keep 1 big yml file with all the container compose.yml file data, just makes it easy when searching for certain things. As you may know you can create multiple docker networks, so I generally create a docker network first (named mynet) before creating any containers . Then I add the following to each container.
There's a fair bit to learn in docker, but also lots and lots of youtube videos and articles about. But it sounds as though you're on the right track, so good luck and have fun! |
Beta Was this translation helpful? Give feedback.
-
🛡️ Security Policy
📝 Describe your problem
When first deploying to my local environment I was using the command line and manually adding .env and compose files; I later installed Portainer and began managing Stacks from there.
My original appdata stack contains many of my initial self-hosted services. As a result, Portainer has no access to this stack. And with my current Dockge install, it cannot access appdata or any of the Portainer stacks.
Current setup looks like this:
appdata (10 containers)
dockge (1 container)
heimdall (1 container)
homarr (1 container)
Ultimately what I'm trying to do is move all Docker management away from Portainer, and find a way to access the appdata stack (which Dockge currently displays a status of "exited" and Portainer cannot access), and generate a stack file so I can regain access to my original deployment script and reuse it as necessary.
Is it at all possible to workaround Dockge not having access to my original appdata and Portainer stacks? Is it also possible to generate a stack script from the original stack that was deployed?
📝 Error Message(s) or Log
No response
🐻 Dockge Version
1.4.2
💻 Operating System and Arch
DSM 7
🌐 Browser
Arc
🐋 Docker Version
No response
🟩 NodeJS Version
No response
Beta Was this translation helpful? Give feedback.
All reactions