Skip to content

Instantly share code, notes, and snippets.

@neofob
Created July 24, 2019 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neofob/d6008b645e24698676e818cc73f44e74 to your computer and use it in GitHub Desktop.
Save neofob/d6008b645e24698676e818cc73f44e74 to your computer and use it in GitHub Desktop.
docker-compose for openvpn server
---
# Simple docker-compose file for kylemanna/openvpn
version: '3.7'
services:
openvpn:
cap_add:
- NET_ADMIN
image: kylemanna/openvpn:latest
container_name: openvpn
ports:
- "1194:1194"
restart: always
volume:
- ${OVPN_DATA}:/etc/openvpn
command:
- ovpn_run
- --cipher
- AES-256-CBC
- --max-clients
- 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment