diff --git a/ocserv/3rd-party/README.md b/ocserv/3rd-party/README.md new file mode 100644 index 0000000..333fbf2 --- /dev/null +++ b/ocserv/3rd-party/README.md @@ -0,0 +1 @@ +See: https://github.com/TommyLau/docker-ocserv diff --git a/ocserv/3rd-party/data/ocpasswd b/ocserv/3rd-party/data/ocpasswd new file mode 100644 index 0000000..e0ac10b --- /dev/null +++ b/ocserv/3rd-party/data/ocpasswd @@ -0,0 +1 @@ +username:Route,All:$1$nBw0FZLD$lwcS7JcqSEZ5YcBNKTels1 diff --git a/ocserv/3rd-party/docker-compose.yml b/ocserv/3rd-party/docker-compose.yml new file mode 100644 index 0000000..5c1e22e --- /dev/null +++ b/ocserv/3rd-party/docker-compose.yml @@ -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 diff --git a/ocserv/Dockerfile b/ocserv/Dockerfile index f198182..8956141 100644 --- a/ocserv/Dockerfile +++ b/ocserv/Dockerfile @@ -5,7 +5,7 @@ FROM debian:jessie MAINTAINER kev -ENV OCSERV_VERSION 0.11.3 +ENV OCSERV_VERSION 0.11.8 RUN set -xe \ && apt-get update \