-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
36 lines (33 loc) · 989 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
---
version: '3.8'
services:
docker-openvpn-client:
image: jsloan117/docker-openvpn-client
cap_add:
- NET_ADMIN
restart: on-failure
volumes:
- /etc/localtime:/etc/localtime:ro
- openvpn_data:/etc/openvpn
environment:
- VPN_CLIENT=openvpn
- OPENVPN_USERNAME=
- OPENVPN_PASSWORD=
- OPENVPN_PROVIDER=
- OPENVPN_OPTS=--auth-nocache --mute-replay-warnings --script-security 2 --route-up /etc/openvpn/update-resolv-conf --down /etc/openvpn/update-resolv-conf
- OPENVPN_CONFIG=
- LOCAL_NETWORK=192.168.0.0/16
- CREATE_TUN_DEVICE=true
- ENABLE_UFW=false
- UFW_KILLSWITCH=false
- UFW_FAILSAFE=false
- UFW_ALLOW_GW_NET=false
- UFW_EXTRA_PORTS=
- UFW_DISABLE_IPTABLES_REJECT=false
- HEALTH_CHECK_HOST=google.com
- S6_CMD_WAIT_FOR_SERVICES_MAXTIME=60000
healthcheck:
test: [CMD, /etc/scripts/healthcheck.sh]
interval: 1m
volumes:
openvpn_data: