homelab/server/config/wireguard/docker-compose.yml

24 lines
593 B
YAML
Raw Normal View History

2022-02-08 17:00:27 -08:00
version: "3"
services:
wireguard:
image: linuxserver/wireguard
container_name: wireguard_wireguard
2022-02-08 17:00:27 -08:00
restart: unless-stopped
ports:
- 53820:51820/udp
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- PEERS=joey-phone,joey-xps13,maddie-phone,acearcher,nas,jafner-chat,jafner-tools
- SERVERURL=www.jafner.net
- SERVERPORT=53820
volumes:
- ${DOCKER_DATA}/config:/config
- /lib/modules:/lib/modules
sysctls:
- net.ipv4.conf.all.src_valid_mark=1