mirror of
https://github.com/louislam/dockge.git
synced 2026-03-03 02:06:55 -05:00
Dockge on Unraid & startup order #242
Labels
No labels
bug
feature-request
help
help wanted
invalid-format
need-reproduce-steps
question
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dockge-louislam#242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @adrianmihalko on GitHub (Jan 5, 2026).
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
I have a docker-compose file where it is important that the VPN starts first, and only then the other services.
This is how it looks now after I added it in Dockge:
Unfortunately, when I run a backup or restart the server, Unraid tries to start everything ASAP. I tried dragging the VPN container above the others, but that doesn’t help either, because it immediately starts the rest as well.
Although they do start, they are not accessible due to a network error.
My docker-compose file works perfectly in a real Docker Compose environment, because the VPN container starts first, and once it is up and running, the other services start.
Once again, I’m not sure whether this is a bug or simply how Dockge works on Unraid.
👟 Reproduction steps
👀 Expected behavior
😓 Actual Behavior
Dockge Version
latest
💻 Operating System and Arch
Unraid
🌐 Browser
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
@starfishpatkhoo commented on GitHub (Feb 16, 2026):
Just wanted to add, this is not a bug within dockge. Docker compose cannot set a
depends_onacross multiple docker-compose stacks, only for services within the same docker-compose stack. Doesn't matter if you were running Unraid or not.I use Unraid also, and the way I go about this is by using
depends_onbut defining each individual service as anincludefrom within one single docker-compose stack. Because it is part of one single / same stack, you can now usedepends_onand make sure the core service (like your VPN) is started before starting the other services. Then, this one stack is what you set Unraid to auto-start.Unfortunately, dockge does not handle
includefiles well (see https://github.com/hamphh/dockge/issues/9) .. You may need to rewrite/tweak your compose yml files to be properlyincluded, but this solution works. It separates the individual services into their own folders/spaces, it allows for dependencies, and it works with Unraid's auto-start in a predictable and define-able manner.@starfishpatkhoo commented on GitHub (Feb 16, 2026):
Sorry, it just occurs to me that you might be using Unraid Docker? You need to use Unraid Docker Compose, and then, make sure you only set auto-start for the one stack (that rules them all), not individual services. Not sure if that's more what you're facing (can't recall the Unraid screen ...
EDIT:
Your compose yml should have some extras to indicate management via Unraid Docker Compose...
or something like that.. ^_^