docker-vpn/docker-compose.yml

16 lines
333 B
YAML
Raw Normal View History

2021-11-28 02:53:29 +01:00
version: '2.0'
2021-08-07 18:24:20 +02:00
services:
openvpn:
restart: never
build:
context: ./
dockerfile: Dockerfile
volumes:
- ./config.ovpn:/opt/config.ovpn
2021-11-28 02:53:29 +01:00
- ./ovpn_config:/opt/ovpn_config
2021-08-07 18:24:20 +02:00
- ./auth.txt:/opt/auth.txt
2021-08-07 19:54:15 +02:00
- /etc/passwd:/etc/passwd
2021-08-07 18:24:20 +02:00
cap_add:
- NET_ADMIN
2021-08-07 19:54:15 +02:00
env_file: ./configuration.env