forked from iam4x/bobarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.vpn.yml
More file actions
44 lines (40 loc) · 833 Bytes
/
docker-compose.vpn.yml
File metadata and controls
44 lines (40 loc) · 833 Bytes
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
version: "3.6"
services:
vpn:
image: dperson/openvpn-client
container_name: bobarr-vpn
cap_add:
- net_admin
security_opt:
- label:disable
networks:
- default
dns:
- 1.1.1.1
- 1.0.0.1
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=1
volumes:
- /dev/net:/dev/net:z
- ./packages/vpn:/vpn
entrypoint: "bash -c"
command: "exit 0"
restart: always
entrypoint: ["/sbin/tini", "--", "/usr/bin/openvpn.sh"]
command: '-p "51413" -p "51413;udp" -f ""'
tty: true
api:
links:
- vpn:transmission
networks:
- default
transmission:
network_mode: "service:vpn"
depends_on:
- vpn
transmission-web:
links:
- vpn:transmission
networks:
- default