services: qbittorrent: image: lscr.io/linuxserver/qbittorrent:latest container_name: qbittorrent environment: - PUID=1000 - PGID=1002 - TZ=America/Sao_Paulo - WEBUI_PORT=8181 volumes: - /home/ccalifice/docker-data/qbittorrent/config:/config - /mnt/servarr/data/torrents:/data/torrents #ports: # - "8181:8181" # - "40848:40848" # - "40848:40848/udp" restart: unless-stopped network_mode: "service:gluetun" depends_on: - gluetun gluetun: image: qmcgaw/gluetun:latest container_name: gluetun_qbittorrent cap_add: - NET_ADMIN environment: - VPN_SERVICE_PROVIDER=custom - VPN_TYPE=wireguard - WIREGUARD_ENDPOINT_IP=85.209.92.53 - WIREGUARD_ENDPOINT_PORT=51822 - WIREGUARD_PUBLIC_KEY=/rw71EjmWXGLftrUp/AgZ9RgKYc/5wh//yFtluq4L2A= - WIREGUARD_PRIVATE_KEY=wEePWTLpMDYd0Fuqzef40q8ggyActNdt7veVWOaxiV8= - WIREGUARD_PRESHARED_KEY=0b+TB4RdPWMhcu44/sOd2lJrHNIAheddnE54OqOyrZQ= - WIREGUARD_ADDRESSES=10.8.0.4/32 - TZ=America/Sao_Paulo ports: - 8181:8181 - 40848:40848 - 40848:40848/udp restart: unless-stopped