[PR #573] [MERGED] fix: update WireGuard Easy template for proper functionality #6960

Closed
opened 2026-05-18 19:09:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/573
Author: @muzafferkadir
Created: 12/5/2025
Status: Merged
Merged: 12/15/2025
Merged by: @Siumauricio

Base: canaryHead: feat/fix-wireguard-easy-template


📝 Commits (2)

  • e3942d9 fix: update WireGuard Easy template for proper functionality
  • ce5bf4a Update template.toml

📊 Changes

2 files changed (+21 additions, -20 deletions)

View changed files

📝 blueprints/wg-easy/docker-compose.yml (+18 -5)
📝 blueprints/wg-easy/template.toml (+3 -15)

📄 Description

Description

Fixed WireGuard Easy template to work properly with required configuration and Dokploy's isolated deployment feature.

Changes

  • Named Volume: Changed from host path (../files/etc_wireguard) to named volume (etc_wireguard) for better portability
  • Explicit Port Mapping: Added 51820:51820/udp and 51821:51821/tcp - required for WireGuard VPN connections
  • Environment Variables: Updated to use correct variable names:
    • WG_HOST for the public hostname
    • PASSWORD for web interface authentication
    • WG_PORT, PORT, WG_MTU, WG_DEFAULT_DNS, WG_ALLOWED_IPS
    • WG_POST_UP/WG_POST_DOWN for iptables NAT and forwarding rules
  • Capabilities: Added NET_RAW capability for proper network operations
  • Isolated Deployment: Removed explicit networks configuration to enable Dokploy's automatic network isolation
  • Simplified Configuration: Cleaned up template.toml to only essential variables

Testing

Tested with Dokploy's isolated deployment enabled
Confirmed working with proper network isolation
VPN connections successfully established


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/573 **Author:** [@muzafferkadir](https://github.com/muzafferkadir) **Created:** 12/5/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@Siumauricio](https://github.com/Siumauricio) **Base:** `canary` ← **Head:** `feat/fix-wireguard-easy-template` --- ### 📝 Commits (2) - [`e3942d9`](https://github.com/Dokploy/templates/commit/e3942d97dc1b075a1e1b293719fcaa49e15036e4) fix: update WireGuard Easy template for proper functionality - [`ce5bf4a`](https://github.com/Dokploy/templates/commit/ce5bf4a77d40013615d1c937b95e1bfaa2fa57fc) Update template.toml ### 📊 Changes **2 files changed** (+21 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `blueprints/wg-easy/docker-compose.yml` (+18 -5) 📝 `blueprints/wg-easy/template.toml` (+3 -15) </details> ### 📄 Description ## Description Fixed WireGuard Easy template to work properly with required configuration and Dokploy's isolated deployment feature. ## Changes - **Named Volume**: Changed from host path (`../files/etc_wireguard`) to named volume (`etc_wireguard`) for better portability - **Explicit Port Mapping**: Added `51820:51820/udp` and `51821:51821/tcp` - required for WireGuard VPN connections - **Environment Variables**: Updated to use correct variable names: - `WG_HOST` for the public hostname - `PASSWORD` for web interface authentication - `WG_PORT`, `PORT`, `WG_MTU`, `WG_DEFAULT_DNS`, `WG_ALLOWED_IPS` - `WG_POST_UP`/`WG_POST_DOWN` for iptables NAT and forwarding rules - **Capabilities**: Added `NET_RAW` capability for proper network operations - **Isolated Deployment**: Removed explicit networks configuration to enable Dokploy's automatic network isolation - **Simplified Configuration**: Cleaned up template.toml to only essential variables ## Testing ✅ Tested with Dokploy's isolated deployment enabled ✅ Confirmed working with proper network isolation ✅ VPN connections successfully established --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 19:09:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#6960