From c5c90875218a04bacde53ed36293ae7d897b6396 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Wed, 10 Apr 2019 21:23:11 +0300 Subject: [PATCH] Adding openvpn configuration draft. --- openvpn/README.md | 3 +++ openvpn/docker-compose.yml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 openvpn/README.md create mode 100644 openvpn/docker-compose.yml diff --git a/openvpn/README.md b/openvpn/README.md new file mode 100644 index 0000000..b170e09 --- /dev/null +++ b/openvpn/README.md @@ -0,0 +1,3 @@ +# Instructions + +See https://hub.docker.com/r/kylemanna/openvpn \ No newline at end of file diff --git a/openvpn/docker-compose.yml b/openvpn/docker-compose.yml new file mode 100644 index 0000000..3602e00 --- /dev/null +++ b/openvpn/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3.7' + +services: + openvpn: + image: kylemanna/openvpn + container_name: openvpn + restart: unless-stopped + cap_add: + - "NET_ADMIN" + ports: + - "1194:1194/udp" + volumes: + - "ovpn-data:/etc/openvpn" + +volumes: + ovpn-data: