feat: Make qBittorrent depend on healthy VPN rather started VPN

This commit is contained in:
Adrien Poupa 2023-05-13 15:00:57 -04:00
parent 3495a9fc1d
commit 2dbca50c75

View File

@ -93,7 +93,8 @@ services:
restart: always restart: always
network_mode: "service:vpn" network_mode: "service:vpn"
depends_on: depends_on:
- vpn vpn:
condition: service_healthy
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.qbittorrent.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/qbittorrent`)) - traefik.http.routers.qbittorrent.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/qbittorrent`))