mirror of
https://github.com/wfg/docker-openvpn-client.git
synced 2025-04-18 17:44:40 -04:00
13 lines
308 B
YAML
13 lines
308 B
YAML
services:
|
|
openvpn-client:
|
|
image: ghcr.io/wfg/openvpn-client:latest
|
|
container_name: openvpn-client
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
environment:
|
|
- ALLOWED_SUBNETS=192.168.10.0/24
|
|
volumes:
|
|
- ./local:/config
|
|
restart: unless-stopped
|