services:
vpn:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
networks:
- vpn-network
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
- 8586:8586 # WebUI qbittorrent
- 9117:9117 # WebUI jackett
- 7878:7878 # WebUI radarr
- 8989:8989 # WebUI sonarr
- 8191:8191 # Flaresolver
- 8080:8080 # WebUI rutorrent
- 9696:9696 # WebUI prowlarr
- 8686:8686 # WebUI Lidarr
volumes:
- ${RACINE}/vpn:/gluetun
environment:
- VPN_SERVICE_PROVIDER=cyberghost
- OPENVPN_USER=XXX
- OPENVPN_PASSWORD=XXX
- SERVER_COUNTRIES=United Kingdom
- TZ=${TZ}
rtorrent-rutorrent:
image: crazymax/rtorrent-rutorrent:latest
container_name: rutorrent
# labels:
# - com.centurylinklabs.watchtower.enable=true
# - autoheal=true
depends_on:
- vpn
env_file:
- "./rtorrent-rutorrent.env"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
network_mode: "service:vpn"
volumes:
- ${RACINE}/rutorrent/data:/data
- ${RACINE}/rutorrent/passwd:/passwd
- ${RACINE}/rutorrent/downloads:/downloads
- /volume3/LeGros8/Filmotheque:/Filmotheque
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
restart: unless-stopped