diff --git a/public/svgs/wireguard.svg b/public/svgs/wireguard.svg new file mode 100644 index 000000000..81823b3eb --- /dev/null +++ b/public/svgs/wireguard.svg @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/templates/compose/wireguard-easy.yaml b/templates/compose/wireguard-easy.yaml new file mode 100644 index 000000000..f0ada4dcf --- /dev/null +++ b/templates/compose/wireguard-easy.yaml @@ -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