services: gluetun: image: qmcgaw/gluetun container_name: gluetun restart: always cap_add: - NET_ADMIN devices: - /dev/net/tun volumes: - ./data/gluetun:/gluetun ports: - 11000:6881/udp #rutorrent - 11001:11001 #rutorrent - 11002:8080 #rutorrent - 11003:9000 #rutorremt - 11004:50000 #rutorrent environment: - PUID=1000 - PGID=1000 - TZ=America/Chicago - VPN_SERVICE_PROVIDER=airvpn - VPN_TYPE=openvpn # change it to your protocol - OPENVPN_CUSTOM_CONFIG=/gluetun/ipvanish.openvpn.conf - VPN_INTERFACE=tun0 - FIREWALL_OUTBOUND_SUBNETS=192.168.0.0/24 - SERVER_CITIES="Chicago Illinois" - FIREWALL_VPN_INPUT_PORTS=4733 rutorrent: image: crazymax/rtorrent-rutorrent:latest container_name: rutorrent environment: - PUID=1000 - PGID=1000 - TZ=America/Chicago - XMLRPC_PORT=11001 #the default port is 8000 but mine was already in use. if yours is free then you don't need this line and you can change this line '- 11001:11001' in ports to '- 11001:8000' volumes: - /volume1/docker/rutorrent/data:/data - /volume1/docker/rutorrent/downloads:/downloads - /volume1/docker/rutorrent/password:/passwd network_mode: service:gluetun security_opt: - no-new-privileges:true restart: always