Jafner.net/docker_config/wireguard/docker-compose.yml
2021-07-11 15:52:02 -07:00

22 lines
437 B
YAML

version: "3"
services:
wireguard:
image: linuxserver/wireguard
container_name: wireguard
ports:
- 53820:51820/udp
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- PEERS=1
- SERVERPORT=53820
volumes:
- ./config:/config
- /lib/modules:/lib/modules
sysctls:
- net.ipv4.conf.all.src_valid_mark=1