Jafner.net/archive/self-hosting/wireguard/docker-compose.yml
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

27 lines
584 B
YAML

---
version: "2.1"
services:
wireguard:
image: linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- SERVERPORT=53820
- SERVERURL=auto
- PEERS=3
- PEERDNS=192.168.1.22
- INTERNAL_SUBNET=10.13.14.0
volumes:
- /home/joey/docker/wireguard/config:/config
- /lib/modules:/lib/modules
ports:
- 53820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped