docker-vpn/docker-compose.yml

15 lines
294 B
YAML
Raw Normal View History

2021-08-07 18:24:20 +02:00
version: '3.3'
services:
openvpn:
restart: never
build:
context: ./
dockerfile: Dockerfile
volumes:
- ./config.ovpn:/opt/config.ovpn
- ./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