1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update ocserv

This commit is contained in:
kev 2017-08-31 17:48:46 +08:00
parent ad99ee520e
commit 276484c636
4 changed files with 20 additions and 1 deletions

1
ocserv/3rd-party/README.md vendored Normal file
View File

@ -0,0 +1 @@
See: https://github.com/TommyLau/docker-ocserv

1
ocserv/3rd-party/data/ocpasswd vendored Normal file
View File

@ -0,0 +1 @@
username:Route,All:$1$nBw0FZLD$lwcS7JcqSEZ5YcBNKTels1

17
ocserv/3rd-party/docker-compose.yml vendored Normal file
View File

@ -0,0 +1,17 @@
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

View File

@ -5,7 +5,7 @@
FROM debian:jessie
MAINTAINER kev <noreply@easypi.pro>
ENV OCSERV_VERSION 0.11.3
ENV OCSERV_VERSION 0.11.8
RUN set -xe \
&& apt-get update \