forked from haugene/docker-transmission-openvpn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (35 loc) · 870 Bytes
/
docker-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
version: '2'
services:
transmission:
image: haugene/transmission-openvpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
ports:
- "9091:9091"
# - "8888:8888" # proxy support
volumes:
- /your/storage/path/:/data # where transmission will store the data
- /your/config/path/:/config # where transmission-home is stored
environment:
- OPENVPN_PROVIDER=PIA
- OPENVPN_USERNAME=username
- OPENVPN_PASSWORD=password
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- LOCAL_NETWORK=192.168.0.0/24
# proxy:
# image: haugene/transmission-openvpn-proxy
# links:
# - transmission
# ports:
# - 8080:8080
# volumes:
# - /etc/localtime:/etc/localtime:ro
# rss:
# image: haugene/transmission-rss
# links:
# - transmission
# environment:
# - RSS_URL=http://.../xxxxx.rss