mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update ocserv
This commit is contained in:
parent
ad99ee520e
commit
276484c636
1
ocserv/3rd-party/README.md
vendored
Normal file
1
ocserv/3rd-party/README.md
vendored
Normal file
@ -0,0 +1 @@
|
||||
See: https://github.com/TommyLau/docker-ocserv
|
1
ocserv/3rd-party/data/ocpasswd
vendored
Normal file
1
ocserv/3rd-party/data/ocpasswd
vendored
Normal file
@ -0,0 +1 @@
|
||||
username:Route,All:$1$nBw0FZLD$lwcS7JcqSEZ5YcBNKTels1
|
17
ocserv/3rd-party/docker-compose.yml
vendored
Normal file
17
ocserv/3rd-party/docker-compose.yml
vendored
Normal 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
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user