Files
templates/blueprints/wg-easy/docker-compose.yml
Jainil Prajapati 🪐 a2d1f929fd Added wg-easy entry (#256)
Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2025-08-02 00:11:49 -06:00

21 lines
500 B
YAML

version: "3.8"
services:
wg-easy:
image: ghcr.io/wg-easy/wg-easy:15
volumes:
- ../files/etc_wireguard:/etc/wireguard
- /lib/modules:/lib/modules:ro
ports:
- 51820/udp
- 51821
restart: unless-stopped
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=0
- net.ipv6.conf.all.forwarding=1
- net.ipv6.conf.default.forwarding=1