1
0
Fork 0
mirror of synced 2024-11-17 14:35:35 -05:00
ovpn-admin/docker-compose.yaml

26 lines
No EOL
579 B
YAML

version: '3'
services:
openvpn:
build:
context: .
dockerfile: Dockerfile.openvpn
image: openvpn:local
command: /etc/openvpn/setup/configure.sh
cap_add:
- NET_ADMIN
ports:
- 7777:1194
volumes:
- ./easyrsa:/etc/openvpn/easyrsa
- ./ccd:/etc/openvpn/ccd
openvpn-admin:
build:
context: .
image: openvpn-admin:local
command: /app/openvpn-admin --debug --ovpn.network="172.16.100.0/22" --mgmt.host="openvpn"
ports:
- 8080:8080
volumes:
- ./easyrsa:/mnt/easyrsa
- ./ccd:/mnt/ccd