wireguard/compose.yaml
2026-05-12 15:32:35 +02:00

21 lines
484 B
YAML

services:
wireguard:
image: lscr.io/linuxserver/wireguard:latest
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /app-config/wireguard/:/config
- /lib/modules:/lib/modules #optional
ports:
- 8096:8096
- 8920:8920
- 9096:9096
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped