56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
version: "3.8"
|
|
services:
|
|
gluetun:
|
|
image: qmcgaw/gluetun:latest
|
|
container_name: gluetun
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
ports:
|
|
- 8081:8081
|
|
- 6881:6881
|
|
- 6881:6881/udp
|
|
environment:
|
|
- OPENVPN_USER=z7SWxmxDsfPCXVyB+pmp
|
|
- OPENVPN_PASSWORD=U2jeTMf9nsADMizgqKAL2NstO0tnBpL4
|
|
- VPN_SERVICE_PROVIDER=protonvpn
|
|
- VPN_TYPE=openvpn
|
|
- SERVER_COUNTRIES=Iceland
|
|
- TZ=America/New_York
|
|
- VPN_PORT_FORWARDING=on
|
|
- PORT_FORWARD_ONLY=on
|
|
- HEALTH_VPN_DURATION_INITIAL=120
|
|
restart: unless-stopped
|
|
|
|
qbittorrent:
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
container_name: qbittorrent
|
|
network_mode: service:gluetun
|
|
depends_on:
|
|
- gluetun
|
|
environment:
|
|
- OPENVPN_USER=z7SWxmxDsfPCXVyB+pmp
|
|
- OPENVPN_PASSWORD=U2jeTMf9nsADMizgqKAL2NstO0tnBpL4
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/New_York
|
|
- WEBUI_PORT=8081
|
|
volumes:
|
|
- ./qbittorrent/config:/config
|
|
- /tank/downloads:/downloads
|
|
restart: unless-stopped
|
|
|
|
qb-port-updater:
|
|
image: jopiermeier/gluetun-qbittorrent-port-manager:latest
|
|
container_name: qb-port-updater
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
environment:
|
|
- OPENVPN_USER=z7SWxmxDsfPCXVyB+pmp
|
|
- OPENVPN_PASSWORD=U2jeTMf9nsADMizgqKAL2NstO0tnBpL4
|
|
- GLUETUN_CONTAINER_NAME=gluetun
|
|
- QBITTORRENT_CONTAINER_NAME=qbittorrent
|
|
- CHECK_INTERVAL=60
|
|
restart: unless-stopped
|