forked from wojas/docker-mac-network
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 750 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 750 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
version: "3.6"
services:
openvpn:
container_name: openvpn
image: kylemanna/openvpn:2.3
volumes:
- .:/local
- ./config:/etc/openvpn
network_mode: host
cap_add:
- NET_ADMIN
environment:
dest: docker-for-mac.ovpn
DEBUG: "1"
command: /local/helpers/run.sh
restart: always
openvpn-proxy:
container_name: openvpn-proxy
image: alpine/socat:1.0.2
ports:
- "127.0.0.1:13194:13194"
command: TCP-LISTEN:13194,fork TCP:172.17.0.1:1194
restart: always
depends_on:
- openvpn
networks:
default:
driver: bridge
name: docker-for-mac-openvpn