18 lines
383 B
YAML
18 lines
383 B
YAML
services:
|
|
awgtest:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: awgtest
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
# sysctls:
|
|
# - net.ipv4.ip_forward=1
|
|
# - net.ipv4.conf.all.src_valid_mark=1
|
|
network_mode: host
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
volumes:
|
|
- ./config:/config
|
|
restart: unless-stopped |