-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1.22 KB
/
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
version: '3'
services:
pptp:
image: mmontagna/docker-vpn-pptp:latest
container_name: pptp
privileged: true
restart: always
network_mode: host
environment:
- client=${PPTP_USER_LIST}
l2tp:
image: fcojean/l2tp-ipsec-vpn-server:latest
container_name: l2tp
privileged: true
restart: always
ports:
- 500:500/udp
- 4500:4500/udp
volumes:
- /lib/modules:/lib/modules:ro
environment:
- VPN_IPSEC_PSK=${L2TP_IPSEC_PSK}
- VPN_USER_CREDENTIAL_LIST=${L2TP_USER_LIST}
openconnect:
image: quay.io/aminvakil/ocserv:latest
container_name: openconnect
restart: always
privileged: true
ports:
- ${OPENCONNECT_PORT}:443
- ${OPENCONNECT_PORT}:443/udp
environment:
- CA_CN=${OPENCONNECT_CA_CN}
- CA_ORG=${OPENCONNECT_CA_ORG}
- CA_DAYS=${OPENCONNECT_CA_DAYS}
- SRV_CN=${OPENCONNECT_SRV_CN}
- SRV_ORG=${OPENCONNECT_SRV_ORG}
- SRV_DAYS=${OPENCONNECT_SRV_DAYS}
- NO_TEST_USER=${OPENCONNECT_NO_TEST_USER}
mtproto:
image: telegrammessenger/proxy:latest
container_name: mtproto
restart: always
ports:
- ${MTPROTO_PORT}:443
environment:
- SECRET_COUNT=${MTPROTO_SECRET_COUNT}