mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-04 10:34:49 +02:00
17 lines
354 B
YAML
17 lines
354 B
YAML
ocserv:
|
|
image: vimagick/ocserv
|
|
ports:
|
|
- "4443:443/tcp"
|
|
- "4443:443/udp"
|
|
environment:
|
|
- VPN_DOMAIN=vpn.easypi.info
|
|
- VPN_NETWORK=10.20.30.0
|
|
- VPN_NETMASK=255.255.255.0
|
|
- LAN_NETWORK=192.168.0.0
|
|
- LAN_NETMASK=255.255.0.0
|
|
- VPN_USERNAME=username
|
|
- VPN_PASSWORD=password
|
|
cap_add:
|
|
- NET_ADMIN
|
|
restart: always
|