Added wg-easy entry (#256)

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
Jainil Prajapati 🪐
2025-08-02 11:41:49 +05:30
committed by GitHub
parent a551e99b8c
commit a2d1f929fd
4 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@@ -0,0 +1,25 @@
[variables]
main_domain = "${domain}"
wg_password = "${password:32}"
[config]
[[config.domains]]
serviceName = "wg-easy" # Matches the service name in docker-compose.yml
port = 51821
host = "${main_domain}"
[config.env]
# WG_HOST is required for the WG-Easy web interface to know the public hostname
WG_HOST = "${main_domain}"
# PASSWORD is used to secure the WG-Easy web interface
PASSWORD = "${wg_password}"
# Optional: PORT is set to match the exposed port
PORT = "51821"
# Optional: HOST ensures the service listens on all interfaces
HOST = "${main_domain}"
# Optional: INSECURE set to false for security
INSECURE = "false"
[[config.mounts]]
filePath = "/etc/wireguard"
content = ""

View File

@@ -3138,6 +3138,20 @@
},
"tags": ["analytics"]
},
{
"id": "wg-easy",
"name": "WG-Easy",
"version": "15",
"description": "WG-Easy is a simple and user-friendly WireGuard VPN server with a web interface for easy management.",
"logo": "image.png",
"links": {
"github": "https://github.com/wg-easy/wg-easy",
"website": "https://wg-easy.github.io/",
"docs": "https://github.com/wg-easy/wg-easy/wiki"
},
"tags": ["vpn", "wireguard", "networking"]
},
{
"id": "open_notebook",
"name": "Open Notebook",