forked from danielhomer/freenas-transmission-openvpn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
62 lines (59 loc) · 1.82 KB
/
Dockerfile
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
FROM fto:latest
LABEL org.freenas.interactive="false" \
org.freenas.version="1" \
org.freenas.upgradeable="true" \
org.freenas.expose-ports-at-host="true" \
org.freenas.autostart="true" \
org.freenas.web-ui-protocol="http" \
org.freenas.web-ui-port="9091" \
org.freenas.web-ui-path="" \
org.freenas.port-mappings="9091:9091/tcp,51413:51413/tcp,51413:51413/udp" \
org.freenas.volumes="[ \
{ \
\"name\": \"/config\", \
\"descr\": \"Config storage space\" \
}, \
{ \
\"name\": \"/watch\", \
\"descr\": \"Watch folder for torrent files\" \
}, \
{ \
\"name\": \"/downloads\", \
\"descr\": \"Downloads volume\" \
} \
]" \
org.freenas.settings="[ \
{ \
\"env\": \"TZ\", \
\"descr\": \"Timezone - eg Europe/London\", \
\"optional\": true \
}, \
{ \
\"env\": \"PGID\", \
\"descr\": \"GroupID\", \
\"optional\": true \
}, \
{ \
\"env\": \"PUID\", \
\"descr\": \"UserID\", \
\"optional\": true \
}, \
{ \
\"env\": \"OPENVPN_USERNAME\" \
\"descr\": \"OpenVPN Username\", \
\"optional\": false \
}, \
{ \
\"env\": \"OPENVPN_PASSWORD\" \
\"descr\": \"OpenVPN Password\", \
\"optional\": false \
}, \
{ \
\"env\": \"OPENVPN_PROVIDER\" \
\"descr\": \"OpenVPN Provider\", \
\"optional\": false \
} \
]"
RUN apk add --no-cache openvpn
ADD openvpn/ /etc/openvpn/
CMD ["/etc/openvpn/start.sh"]