Merge pull request #3955 from JakeKydd/feature/add-wireguard-easy
feat: add wireguard-easy template
This commit is contained in:
26
templates/compose/wireguard-easy.yaml
Normal file
26
templates/compose/wireguard-easy.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
# documentation: https://github.com/wg-easy/wg-easy
|
||||
# slogan: The easiest way to run WireGuard VPN + Web-based Admin UI.
|
||||
# tags: wireguard,vpn,web,admin
|
||||
# logo: svgs/wireguard.svg
|
||||
# port: 8000
|
||||
services:
|
||||
wg-easy:
|
||||
image: ghcr.io/wg-easy/wg-easy
|
||||
environment:
|
||||
- SERVICE_FQDN_WIREGUARDEASY_8000
|
||||
- LANG=en
|
||||
- WG_HOST=$SERVICE_FQDN_WIREGUARDEASY
|
||||
- PORT=8000
|
||||
- WG_PORT=51820
|
||||
volumes:
|
||||
- wg-easy:/etc/wireguard
|
||||
ports:
|
||||
- "51820:51820/udp"
|
||||
- "8000:8000/tcp"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
sysctls:
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
- net.ipv4.ip_forward=1
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user