updated restart directive

This commit is contained in:
Peter Wood
2022-07-20 16:51:59 -04:00
parent 86d17f50a1
commit bbf32a6615

View File

@@ -28,6 +28,7 @@ services:
# - SERVER_COUNTRIES: Comma separated list of countries # - SERVER_COUNTRIES: Comma separated list of countries
# - SERVER_CITIES=Stockholm # - SERVER_CITIES=Stockholm
# - SERVER_HOSTNAMES: Comma separated list of server hostnames # - SERVER_HOSTNAMES: Comma separated list of server hostnames
restart: always
qbittorrent: qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent container_name: qbittorrent
@@ -41,4 +42,4 @@ services:
- /d/media/downloads:/downloads - /d/media/downloads:/downloads
# network_mode: "service:gluetun" forces qbittorrent to connect to the internet through the VPN defined in the gluetun container above # network_mode: "service:gluetun" forces qbittorrent to connect to the internet through the VPN defined in the gluetun container above
network_mode: "service:gluetun" network_mode: "service:gluetun"
restart: unless-stopped restart: always