-
Notifications
You must be signed in to change notification settings - Fork 30
/
wildy.compose.yml
43 lines (40 loc) · 1.16 KB
/
wildy.compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.8'
services:
transmission:
image: haugene/transmission-openvpn:latest
container_name: transmission
restart: always
dns: 1.1.1.1
user: ${XID:-1000}
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
volumes:
- ${PRIMARY_MOUNT}/data:/data
- /etc/localtime:/etc/localtime:ro
environment:
- CREATE_TUN_DEVICE=true
- "OPENVPN_PROVIDER=${OPENVPN_PROVIDER}"
- "OPENVPN_USERNAME=${TORRENT_USERNAME}"
- "OPENVPN_PASSWORD=${TORRENT_PASSWORD}"
- "TRANSMISSION_UMASK=0"
- "OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60"
- LOCAL_NETWORK=${LOCAL_NETWORK}
transmission_proxy:
image: haugene/transmission-openvpn-proxy:latest
container_name: transmission_proxy
restart: always
ports:
- "9091:8080"
depends_on:
- transmission
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: always
command: --schedule "0 0 */6 * * *"
volumes:
- ${SOCK_PATH}:/var/run/docker.sock
- "${PRIMARY_MOUNT}/watchtower/config/:/config"
- "${PRIMARY_MOUNT}/watchtower/docker-config.json:/config.json"