1
0
Fork 0
mirror of synced 2024-05-29 13:31:12 -04:00
ovpn-admin/docker-compose.yaml
2020-10-29 13:50:19 +03:00

26 lines
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:
- 1194: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