1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/ocserv/3rd-party/docker-compose.yml
2017-08-31 17:49:45 +08:00

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