69 lines
2.0 KiB
YAML
69 lines
2.0 KiB
YAML
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
|
|
services:
|
|
gluetun:
|
|
image: qmcgaw/gluetun
|
|
# container_name: gluetun
|
|
restart: always
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- /dev/net/tun
|
|
volumes:
|
|
- ./gluetun:/gluetun
|
|
ports:
|
|
- 11000:6881/udp #rutorrent
|
|
- 11001:11001 #rutorrent
|
|
- 11002:8080 #rutorrent
|
|
- 11003:9000 #rutorremt
|
|
- 4733:4733 #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'
|
|
- RT_INC_PORT=4733
|
|
depends_on:
|
|
- gluetun
|
|
volumes:
|
|
- ./rutorrent/data:/data
|
|
- /download_tmp:/downloads
|
|
- ./rutorrent/password:/passwd
|
|
network_mode: service:gluetun
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
restart: always
|
|
labels:
|
|
kuma.my-app.http.name: "Downloader - RuTorrent"
|
|
kuma.my-app.http.url: "https://downloader.frantecrt.duckdns.org/"
|
|
|
|
tinyfilemanager:
|
|
image: tinyfilemanager/tinyfilemanager:master
|
|
container_name: tinyfilemanager
|
|
restart: unless-stopped
|
|
ports:
|
|
- 80:80
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
volumes:
|
|
- /apps/data/:/var/www/html/data/
|
|
- ./tinyfilemanager/:/var/www/html/
|
|
labels:
|
|
kuma.my-app.http.name: "Downloader - File Manager"
|
|
kuma.my-app.http.url: "https://fileman.frantecrt.duckdns.org/"
|