From 2dbca50c75b87fe5d5ba8294595b348b517375d2 Mon Sep 17 00:00:00 2001 From: Adrien Poupa Date: Sat, 13 May 2023 15:00:57 -0400 Subject: [PATCH] feat: Make qBittorrent depend on healthy VPN rather started VPN --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b2917bc..a6c41b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -93,7 +93,8 @@ services: restart: always network_mode: "service:vpn" depends_on: - - vpn + vpn: + condition: service_healthy labels: - traefik.enable=true - traefik.http.routers.qbittorrent.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/qbittorrent`))