14 lines
294 B
YAML
14 lines
294 B
YAML
version: '3.3'
|
|
services:
|
|
openvpn:
|
|
restart: never
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ./config.ovpn:/opt/config.ovpn
|
|
- ./auth.txt:/opt/auth.txt
|
|
- /etc/passwd:/etc/passwd
|
|
cap_add:
|
|
- NET_ADMIN
|
|
env_file: ./configuration.env
|