From 88d3d0fc9e47ff0281c6129925aa21a4e1058414 Mon Sep 17 00:00:00 2001 From: Gabe Date: Tue, 30 Sep 2025 23:39:41 +0000 Subject: [PATCH] Add WG-Easy/Docker-Compose.yml --- WG-Easy/Docker-Compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 WG-Easy/Docker-Compose.yml diff --git a/WG-Easy/Docker-Compose.yml b/WG-Easy/Docker-Compose.yml new file mode 100644 index 0000000..d7f3d36 --- /dev/null +++ b/WG-Easy/Docker-Compose.yml @@ -0,0 +1,25 @@ +services: + wg-easy: + image: ghcr.io/wg-easy/wg-easy + container_name: wg-easy + environment: # Environment variables to configure the instance. + - LANG=en # Language settings. + - WG_HOST=PUBLICIP # Public IP or domain name where WG-Easy is accessible. + - PASSWORD= # Password for accessing the WG-Easy web interface. + - PORT=51821 # Port for the web interface. + - WG_PORT=51820 # WireGuard port for VPN traffic. + - WG_DEFAULT_ADDRESS=10.10.0.x + - WG_DEFAULT_DNS=1.1.1.1 + # - WG_MTU=1420 + volumes: + - /home/Docker Volumes/wg-easy:/etc/wireguard # Volume mapping for WireGuard configuration files. + ports: + - "51820:51820/udp" # UDP port used by WireGuard. + - "51821:51821/tcp" # TCP port for accessing the web interface. + cap_add: # Capabilities required for managing networking features. + - NET_ADMIN + - SYS_MODULE + sysctls: # Kernel parameters that need to be set for WireGuard. + - net.ipv4.conf.all.src_valid_mark=1 + - net.ipv4.ip_forward=1 + restart: unless-stopped \ No newline at end of file