Fix qbittorrent

This commit is contained in:
Colin Hebert
2023-03-04 14:37:11 +11:00
parent e4dff4d533
commit dee14963da

View File

@@ -40,7 +40,6 @@ services:
PGID: ${NASCOMPOSE_GID?} PGID: ${NASCOMPOSE_GID?}
VPN_ENABLED: true VPN_ENABLED: true
VPN_LAN_NETWORK: 192.168.0.0/16 VPN_LAN_NETWORK: 192.168.0.0/16
VPN_CONF: wg0
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
networks: networks:
@@ -53,9 +52,9 @@ services:
volumes: volumes:
- ${NASCOMPOSE_SERVICES?}/torrents/volumes/qbittorrent_config/:/config/ - ${NASCOMPOSE_SERVICES?}/torrents/volumes/qbittorrent_config/:/config/
- ${NASCOMPOSE_DATA?}/torrents/:/data/ - ${NASCOMPOSE_DATA?}/torrents/:/data/
secrets: configs:
- source: transmission_vpn_creds - source: qbittorrent_vpn_settings
target: openvpn_creds target: /config/wireguard/wg0.conf
restart: unless-stopped restart: unless-stopped
labels: labels:
traefik.enable: true traefik.enable: true
@@ -68,6 +67,10 @@ networks:
reverse-proxy: reverse-proxy:
external: true external: true
configs:
qbittorrent_vpn_settings:
file: ${NASCOMPOSE_SERVICES?}/torrents/secrets/wg0.conf
secrets: secrets:
transmission_vpn_creds: transmission_vpn_creds:
file: ${NASCOMPOSE_SERVICES?}/torrents/secrets/vpn_creds file: ${NASCOMPOSE_SERVICES?}/torrents/secrets/vpn_creds