123456789101112131415161718192021222324252627 |
- version: '2'
-
- services:
- openvpn:
- build: ./openvpn
- container_name: vpn-c2s-openvpn
- # restart: unless-stopped
- cap_add:
- - NET_ADMIN
- networks:
- vpn-c2s.internal.docker:
- aliases:
- - openvpn.vpn-c2s.internal.docker
- ipv4_address: 10.116.0.10
- volumes:
- - ./data/openvpn/client-config-dir:/etc/openvpn/client-config-dir
- - ./data/openvpn/credentials:/etc/openvpn/credentials
- ports:
- - "0.0.0.0:35090:4242"
- env_file:
- - env
-
- networks:
- vpn-c2s.internal.docker:
- ipam:
- config:
- - subnet: 10.116.0.0/24
|