39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
gluetun:
|
|
image: qmcgaw/gluetun:v3
|
|
cap_add:
|
|
- NET_ADMIN
|
|
network_mode: bridge
|
|
ports:
|
|
# Gluetun
|
|
- 18888:8888/tcp # Tinyproxy
|
|
- 18388:8388/tcp # Shadowsocks
|
|
- 18388:8388/udp # Shadowsocks
|
|
- 18000:8000/tcp # Built-in HTTP control server
|
|
- 18112:8112 # deluge
|
|
environment:
|
|
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER}
|
|
- TZ=${TZ}
|
|
- OPENVPN_USER=${OPENVPN_USER} # Your username
|
|
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD} # Your password
|
|
- SERVER_REGIONS=${SERVER_REGIONS} # Your region, e.g. US East. No quotes.
|
|
- FIREWALL_OUTBOUND_SUBNETS=${FIREWALL_OUTBOUND_SUBNETS}
|
|
- SHADOWSOCKS=${SHADOWSOCKS}
|
|
- SHADOWSOCKS_PASSWORD=${SHADOWSOCKS_PASSWORD}
|
|
restart: unless-stopped
|
|
|
|
deluge:
|
|
image: lscr.io/linuxserver/deluge
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
volumes:
|
|
- ${MEDIA}/unsorted:/downloads
|
|
- ${ROOT}/Config/deluge:/config
|
|
network_mode: service:gluetun
|
|
depends_on:
|
|
- gluetun
|