-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
48 lines (45 loc) · 954 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
37
38
39
40
41
42
43
44
45
46
47
48
version: "3"
services:
openvpn:
image: $DOCKER_IMAGE
container_name: openvpn
restart: always
volumes:
- $OVPN_DATA:/etc/openvpn
ports:
- $VPN_PORT:1194/$PROTOCOL
cap_add:
- NET_ADMIN
vpn2go:
image: guamulo/vpn2go
container_name: vpn2go
restart: always
build:
context: .
environment:
- DOCKER_IMAGE=$DOCKER_IMAGE
- SERVER_ADDRESS=$SERVER_ADDRESS
- SERVICE_USER=$SERVICE_USER
- SERVICE_PASSWORD=$SERVICE_PASSWORD
- OVPN_DATA=$OVPN_DATA
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 127.0.0.1:5000:5000
proxy:
image: caddy
restart: always
ports:
- 80:80
- 443:443
volumes:
- ./Caddyfile://etc/caddy/Caddyfile
- ./caddy:/data/
links:
- vpn2go
- frontend
frontend:
image: ggjnez92/vpn2go-frontend
restart: always
ports:
- 127.0.0.1:8989:80