this post was submitted on 16 Mar 2024
29 points (87.2% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54669 readers
444 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
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Setup:

Debian running podman. Containers and compose files are managed with Dockge. qBit and Gluetun are on a single compose file and all qBit traffic is routed through Gluetun.

qBit seems to starts first before Gluetun is fully set up and qBit doesn't see the open port. Every time I start them together, I have to manually restart qBit again once Gluetun is ready. Once it's restarted, it shows as open and connected again.

I tried looking for ways to delay startup in a compose file but I didn't get any results.

Is there a solution to this?

https://pastebin.com/kgqt8aJ7

you are viewing a single comment's thread
view the rest of the comments
[–] Lem453@lemmy.ca 1 points 8 months ago* (last edited 8 months ago) (1 children)

I use only the default depends_on along with network mode in my setup and it works but your glutun might be taking longer to load so something like this might help.

You definitely need some kind of depends on thought:

https://docs.docker.com/compose/startup-order/

[–] jws_shadotak@sh.itjust.works 1 points 8 months ago

I added this to my qBit section:

    depends_on:
      gluetun:
        condition: service_healthy
        restart: true

It caused an error with gluetun somehow