Created
July 24, 2019 06:04
-
-
Save neofob/d6008b645e24698676e818cc73f44e74 to your computer and use it in GitHub Desktop.
docker-compose for openvpn server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# 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