Files
Terraform/roles/ind/downloader/docker-compose.yml
2025-07-24 23:52:56 -05:00

56 lines
1.5 KiB
YAML

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
- 4733:4733 #rutorrent
- 80:80 #TinyFileManager
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'
- RT_INC_PORT=4733
volumes:
- ./data/rutorrent/data:/data
- /data:/downloads
- ./data/rutorrent/password:/passwd
network_mode: service:gluetun
security_opt:
- no-new-privileges:true
restart: always
tinyfilemanager:
image: tinyfilemanager/tinyfilemanager:master
container_name: tinyfilemanager
environment:
- PUID=1000
- PGID=1000
volumes:
- /data:/var/www/html/data