this post was submitted on 16 Mar 2024
29 points (87.2% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54476 readers
386 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Did you specify a dependency? https://docs.docker.com/compose/compose-file/05-services/#depends_on
If qbit depends on gluetun it doesn't start before it.
For this kind of question it's always good to show the compose file(s)
I added this to my qBit section:
It caused an error with gluetun somehow
You only need depends_on: gluetun. Did you observe the logs at boot? Do they still show that qbit starts first?
qBit starts second but Gluetun isn't finished and doesn't open the port for another few seconds, causing this problem
I added a pastebin of the compose file
I tried adding depends_on to the qBit, but I got the same result. I think it's already dependent on gluetun for the network_mode
Make a wait for the container.
https://docs.docker.com/compose/startup-order/