mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
18 lines
336 B
YAML
18 lines
336 B
YAML
ocserv:
|
|
image: tommylau/ocserv
|
|
ports:
|
|
- "4443:443/tcp"
|
|
- "4443:443/udp"
|
|
volumes:
|
|
- ./data/ocpasswd:/etc/ocserv/ocpasswd
|
|
environment:
|
|
- CA_CN=EasyPi
|
|
- CA_DAYS=3650
|
|
- CA_ORG=EasyPi
|
|
- SRV_CN=vpn.easypi.pro
|
|
- SRV_DAYS=365
|
|
- SRV_ORG=EasyPi
|
|
- NO_TEST_USER=1
|
|
privileged: yes
|
|
restart: always
|