downloader: set correct nertwrok and pid settings

This commit is contained in:
tylen 2025-04-12 21:11:36 +00:00
parent 8e6010d7a2
commit 46f95d30a9

View File

@ -19,13 +19,14 @@ services:
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY} - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
- WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES} - WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES}
- SERVER_COUNTRIES=${SERVER_COUNTRIES} - SERVER_COUNTRIES=${SERVER_COUNTRIES}
- FIREWALL_VPN_INPUT_PORTS=${SVC_PORT_2}
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup # See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
qbittorrent: qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent container_name: qbittorrent
environment: environment:
- PUID=1000 - PUID=1001
- PGID=1000 - PGID=1001
- TZ=Etc/UTC - TZ=Etc/UTC
- WEBUI_PORT=${SVC_PORT_1} - WEBUI_PORT=${SVC_PORT_1}
volumes: volumes:
@ -33,3 +34,6 @@ services:
- ${QBIT_TORRENT_DOWNLOADS_PATH}:/downloads - ${QBIT_TORRENT_DOWNLOADS_PATH}:/downloads
restart: unless-stopped restart: unless-stopped
network_mode: "service:gluetun" network_mode: "service:gluetun"
depends_on:
- gluetun