# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: WireGuard Easy
spec:
    description: |
        WireGuard Easy provides the simplest way to run a WireGuard VPN server with a web-based management UI. It allows you to create, manage, and monitor VPN clients through an intuitive dashboard without touching configuration files.
    coverImage: https://github.com/wg-easy/wg-easy/raw/master/assets/screenshot.png
    icon: https://avatars.githubusercontent.com/u/105704026?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access WireGuard Easy web UI
        - key: PASSWORD_HASH
          type: STRING
          name: Admin Password Hash
          description: Bcrypt hash of the admin password for the web UI
    tags:
        - vpn
        - wireguard
        - networking
    readme: |
        # WireGuard Easy

        The easiest way to run a WireGuard VPN server with a beautiful web-based management interface for creating and managing VPN clients.

        ## What You Can Do After Deployment

        1. **Visit your domain** — Access the WireGuard Easy web management UI and log in with your admin password
        2. **Create VPN clients** — Add new WireGuard peers with one click and download their configuration files
        3. **Monitor connections** — View real-time connection status, data transfer, and last handshake of all clients
        4. **Manage clients** — Enable, disable, or delete VPN clients directly from the web interface
        5. **Download configs** — Download client configuration files or scan QR codes for mobile devices

        ## Key Features

        - One-click WireGuard VPN client creation and management
        - Beautiful and intuitive web-based management dashboard
        - QR code generation for easy mobile client setup
        - Real-time connection monitoring with transfer statistics
        - Enable/disable clients without deleting their configuration
        - Automatic server configuration and key generation
        - Client configuration file download support
        - Responsive web interface accessible from any device
        - Password-protected admin access

        ## Important Notes

        - This service requires NET_ADMIN and NET_RAW capabilities, which may not be available on all hosting platforms
        - WireGuard UDP port 51820 must be accessible for VPN connections
        - Set the WG_HOST environment variable to your server's public domain or IP

        ## License

        AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
    services:
        - name: wg-easy
          icon: https://avatars.githubusercontent.com/u/105704026?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/wg-easy/wg-easy:15.2.2
            ports:
                - id: web
                  port: 51821
                  type: HTTP
                - id: wireguard
                  port: 51820
                  type: UDP
            volumes:
                - id: wireguard-data
                  dir: /etc/wireguard
            env:
                PASSWORD_HASH:
                    default: ${PASSWORD_HASH}
                    expose: true
                WG_HOST:
                    default: ${ZEABUR_WEB_URL}
                    expose: true
            healthCheck:
                type: TCP
                port: web
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            WireGuard Easy ofrece la forma más sencilla de ejecutar un servidor VPN WireGuard con una interfaz de gestión basada en web. Permite crear, gestionar y monitorizar clientes VPN a través de un panel intuitivo sin tocar archivos de configuración.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a la interfaz web de WireGuard Easy
            - key: PASSWORD_HASH
              type: STRING
              name: Hash de contraseña de administrador
              description: Hash Bcrypt de la contraseña de administrador para la interfaz web
        readme: |
            # WireGuard Easy

            La forma más sencilla de ejecutar un servidor VPN WireGuard con una hermosa interfaz de gestión basada en web para crear y gestionar clientes VPN.

            ## Qué puedes hacer después del despliegue

            1. **Visita tu dominio** — Accede a la interfaz web de gestión de WireGuard Easy e inicia sesión con tu contraseña de administrador
            2. **Crea clientes VPN** — Añade nuevos peers WireGuard con un clic y descarga sus archivos de configuración
            3. **Monitoriza conexiones** — Ve el estado de conexión en tiempo real, transferencia de datos y último handshake de todos los clientes
            4. **Gestiona clientes** — Habilita, deshabilita o elimina clientes VPN directamente desde la interfaz web
            5. **Descarga configuraciones** — Descarga archivos de configuración de cliente o escanea códigos QR para dispositivos móviles

            ## Características principales

            - Creación y gestión de clientes VPN WireGuard con un clic
            - Panel de gestión web hermoso e intuitivo
            - Generación de códigos QR para fácil configuración en móviles
            - Monitorización de conexiones en tiempo real con estadísticas de transferencia
            - Habilitar/deshabilitar clientes sin eliminar su configuración
            - Configuración automática del servidor y generación de claves
            - Soporte de descarga de archivos de configuración de cliente
            - Interfaz web responsiva accesible desde cualquier dispositivo
            - Acceso de administrador protegido por contraseña

            ## Notas importantes

            - Este servicio requiere capacidades NET_ADMIN y NET_RAW, que pueden no estar disponibles en todas las plataformas de alojamiento
            - El puerto UDP 51820 de WireGuard debe ser accesible para las conexiones VPN
            - Establece la variable de entorno WG_HOST con el dominio público o IP de tu servidor

            ## Licencia

            AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
    id-ID:
        description: |
            WireGuard Easy menyediakan cara termudah untuk menjalankan server VPN WireGuard dengan UI manajemen berbasis web. Memungkinkan Anda membuat, mengelola, dan memantau klien VPN melalui dasbor intuitif tanpa menyentuh file konfigurasi.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses UI web WireGuard Easy
            - key: PASSWORD_HASH
              type: STRING
              name: Hash Kata Sandi Admin
              description: Hash Bcrypt dari kata sandi admin untuk UI web
        readme: |
            # WireGuard Easy

            Cara termudah untuk menjalankan server VPN WireGuard dengan antarmuka manajemen berbasis web yang indah untuk membuat dan mengelola klien VPN.

            ## Yang Dapat Dilakukan Setelah Deploy

            1. **Kunjungi domain Anda** — Akses UI manajemen web WireGuard Easy dan login dengan kata sandi admin
            2. **Buat klien VPN** — Tambahkan peer WireGuard baru dengan satu klik dan unduh file konfigurasinya
            3. **Pantau koneksi** — Lihat status koneksi real-time, transfer data, dan handshake terakhir semua klien
            4. **Kelola klien** — Aktifkan, nonaktifkan, atau hapus klien VPN langsung dari antarmuka web
            5. **Unduh konfigurasi** — Unduh file konfigurasi klien atau pindai kode QR untuk perangkat mobile

            ## Fitur Utama

            - Pembuatan dan pengelolaan klien VPN WireGuard satu klik
            - Dasbor manajemen web yang indah dan intuitif
            - Pembuatan kode QR untuk pengaturan klien mobile yang mudah
            - Pemantauan koneksi real-time dengan statistik transfer
            - Aktifkan/nonaktifkan klien tanpa menghapus konfigurasinya
            - Konfigurasi server otomatis dan pembuatan kunci
            - Dukungan unduh file konfigurasi klien
            - Antarmuka web responsif yang dapat diakses dari perangkat apa pun
            - Akses admin yang dilindungi kata sandi

            ## Catatan Penting

            - Layanan ini memerlukan kapabilitas NET_ADMIN dan NET_RAW, yang mungkin tidak tersedia di semua platform hosting
            - Port UDP WireGuard 51820 harus dapat diakses untuk koneksi VPN
            - Atur variabel lingkungan WG_HOST ke domain publik atau IP server Anda

            ## Lisensi

            AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
    ja-JP:
        description: |
            WireGuard Easy は WireGuard VPN サーバーをウェブベースの管理 UI 付きで実行する最も簡単な方法を提供します。直感的なダッシュボードから VPN クライアントの作成、管理、監視が可能で、設定ファイルを直接編集する必要はありません。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: WireGuard Easy ウェブ管理 UI にアクセスするためのドメイン
            - key: PASSWORD_HASH
              type: STRING
              name: 管理者パスワードハッシュ
              description: ウェブ管理 UI の管理者パスワードの Bcrypt ハッシュ値
        readme: |
            # WireGuard Easy

            美しいウェブベースの管理インターフェースで VPN クライアントを作成・管理できる、最も簡単な WireGuard VPN サーバーの実行方法です。

            ## デプロイ後にできること

            1. **ドメインにアクセス** — WireGuard Easy ウェブ管理 UI にアクセスし、管理者パスワードでログイン
            2. **VPN クライアントを作成** — ワンクリックで WireGuard ピアを追加し、設定ファイルをダウンロード
            3. **接続を監視** — すべてのクライアントのリアルタイム接続状況、データ転送量、最終ハンドシェイクを表示
            4. **クライアントを管理** — ウェブインターフェースから直接 VPN クライアントの有効化、無効化、削除
            5. **設定をダウンロード** — クライアント設定ファイルのダウンロードまたはモバイルデバイス用 QR コードのスキャン

            ## 主な機能

            - ワンクリックで WireGuard VPN クライアントの作成と管理
            - 美しく直感的なウェブベース管理ダッシュボード
            - 簡単なモバイルクライアントセットアップ用 QR コード生成
            - 転送統計付きリアルタイム接続監視
            - 設定を削除せずにクライアントの有効化/無効化
            - 自動サーバー設定とキー生成
            - クライアント設定ファイルダウンロードサポート
            - あらゆるデバイスからアクセス可能なレスポンシブウェブインターフェース
            - パスワード保護された管理者アクセス

            ## 重要な注意事項

            - このサービスは NET_ADMIN および NET_RAW 機能が必要で、すべてのホスティングプラットフォームで利用できるとは限りません
            - VPN 接続のために WireGuard UDP ポート 51820 にアクセスできる必要があります
            - WG_HOST 環境変数をサーバーのパブリックドメインまたは IP に設定してください

            ## ライセンス

            AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
    ko-KR:
        description: |
            WireGuard Easy는 웹 기반 관리 UI가 포함된 WireGuard VPN 서버를 실행하는 가장 쉬운 방법을 제공합니다. 직관적인 대시보드를 통해 설정 파일을 직접 수정하지 않고도 VPN 클라이언트를 생성, 관리, 모니터링할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: WireGuard Easy 웹 관리 UI에 접속할 도메인
            - key: PASSWORD_HASH
              type: STRING
              name: 관리자 비밀번호 해시
              description: 웹 관리 UI의 관리자 비밀번호 Bcrypt 해시값
        readme: |
            # WireGuard Easy

            아름다운 웹 기반 관리 인터페이스로 VPN 클라이언트를 생성하고 관리할 수 있는 가장 쉬운 WireGuard VPN 서버 실행 방법입니다.

            ## 배포 후 할 수 있는 것

            1. **도메인 방문** — WireGuard Easy 웹 관리 UI에 접속하여 관리자 비밀번호로 로그인
            2. **VPN 클라이언트 생성** — 원클릭으로 WireGuard 피어 추가 및 설정 파일 다운로드
            3. **연결 모니터링** — 모든 클라이언트의 실시간 연결 상태, 데이터 전송량, 마지막 핸드셰이크 확인
            4. **클라이언트 관리** — 웹 인터페이스에서 직접 VPN 클라이언트 활성화, 비활성화 또는 삭제
            5. **설정 다운로드** — 클라이언트 설정 파일 다운로드 또는 모바일 장치용 QR 코드 스캔

            ## 주요 기능

            - 원클릭 WireGuard VPN 클라이언트 생성 및 관리
            - 아름답고 직관적인 웹 기반 관리 대시보드
            - 쉬운 모바일 클라이언트 설정을 위한 QR 코드 생성
            - 전송 통계가 포함된 실시간 연결 모니터링
            - 설정을 삭제하지 않고 클라이언트 활성화/비활성화
            - 자동 서버 설정 및 키 생성
            - 클라이언트 설정 파일 다운로드 지원
            - 모든 장치에서 접근 가능한 반응형 웹 인터페이스
            - 비밀번호로 보호된 관리자 접근

            ## 중요 참고 사항

            - 이 서비스는 NET_ADMIN 및 NET_RAW 기능이 필요하며, 모든 호스팅 플랫폼에서 사용할 수 없을 수 있습니다
            - VPN 연결을 위해 WireGuard UDP 포트 51820에 접근할 수 있어야 합니다
            - WG_HOST 환경 변수를 서버의 공개 도메인 또는 IP로 설정하세요

            ## 라이선스

            AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
    th-TH:
        description: |
            WireGuard Easy มอบวิธีที่ง่ายที่สุดในการรัน WireGuard VPN เซิร์ฟเวอร์พร้อม UI จัดการผ่านเว็บ ช่วยให้คุณสร้าง จัดการ และตรวจสอบ VPN ไคลเอนต์ผ่านแดชบอร์ดที่ใช้งานง่ายโดยไม่ต้องแก้ไขไฟล์คอนฟิกด้วยตนเอง
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง UI เว็บ WireGuard Easy
            - key: PASSWORD_HASH
              type: STRING
              name: แฮชรหัสผ่านแอดมิน
              description: ค่าแฮช Bcrypt ของรหัสผ่านแอดมินสำหรับ UI เว็บ
        readme: |
            # WireGuard Easy

            วิธีที่ง่ายที่สุดในการรัน WireGuard VPN เซิร์ฟเวอร์ พร้อมอินเทอร์เฟซจัดการผ่านเว็บที่สวยงามสำหรับสร้างและจัดการ VPN ไคลเอนต์

            ## สิ่งที่ทำได้หลังการ Deploy

            1. **เยี่ยมชมโดเมนของคุณ** — เข้าถึง UI จัดการเว็บ WireGuard Easy และเข้าสู่ระบบด้วยรหัสผ่านแอดมิน
            2. **สร้าง VPN ไคลเอนต์** — เพิ่ม WireGuard peer ใหม่ด้วยคลิกเดียวและดาวน์โหลดไฟล์คอนฟิก
            3. **ตรวจสอบการเชื่อมต่อ** — ดูสถานะการเชื่อมต่อแบบเรียลไทม์ การถ่ายโอนข้อมูล และ handshake ล่าสุดของไคลเอนต์ทั้งหมด
            4. **จัดการไคลเอนต์** — เปิดใช้งาน ปิดใช้งาน หรือลบ VPN ไคลเอนต์จากเว็บอินเทอร์เฟซโดยตรง
            5. **ดาวน์โหลดคอนฟิก** — ดาวน์โหลดไฟล์คอนฟิกไคลเอนต์หรือสแกน QR โค้ดสำหรับอุปกรณ์มือถือ

            ## ฟีเจอร์หลัก

            - สร้างและจัดการ WireGuard VPN ไคลเอนต์ด้วยคลิกเดียว
            - แดชบอร์ดจัดการเว็บที่สวยงามและใช้งานง่าย
            - สร้าง QR โค้ดสำหรับตั้งค่าไคลเอนต์มือถืออย่างง่าย
            - ตรวจสอบการเชื่อมต่อแบบเรียลไทม์พร้อมสถิติการถ่ายโอน
            - เปิด/ปิดใช้งานไคลเอนต์โดยไม่ลบคอนฟิก
            - ตั้งค่าเซิร์ฟเวอร์อัตโนมัติและสร้างคีย์
            - รองรับดาวน์โหลดไฟล์คอนฟิกไคลเอนต์
            - เว็บอินเทอร์เฟซแบบ responsive เข้าถึงได้จากทุกอุปกรณ์
            - การเข้าถึงแอดมินป้องกันด้วยรหัสผ่าน

            ## หมายเหตุสำคัญ

            - บริการนี้ต้องการ capability NET_ADMIN และ NET_RAW ซึ่งอาจไม่พร้อมใช้งานบนทุกแพลตฟอร์มโฮสติ้ง
            - พอร์ต UDP WireGuard 51820 ต้องสามารถเข้าถึงได้สำหรับการเชื่อมต่อ VPN
            - ตั้งค่าตัวแปรสภาพแวดล้อม WG_HOST เป็นโดเมนสาธารณะหรือ IP ของเซิร์ฟเวอร์

            ## สัญญาอนุญาต

            AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
    zh-CN:
        description: |
            WireGuard Easy 提供最简单的方式来运行 WireGuard VPN 服务器，并附带基于网页的管理界面。让您通过直观的仪表板创建、管理和监控 VPN 客户端，无需手动编辑配置文件。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 WireGuard Easy 网页管理界面的域名
            - key: PASSWORD_HASH
              type: STRING
              name: 管理员密码哈希
              description: 网页管理界面的管理员密码 Bcrypt 哈希值
        readme: |
            # WireGuard Easy

            最简单的方式运行 WireGuard VPN 服务器，附带美观的网页管理界面，用于创建和管理 VPN 客户端。

            ## 部署后可以做什么

            1. **打开您的域名** — 访问 WireGuard Easy 网页管理界面并使用管理员密码登录
            2. **创建 VPN 客户端** — 一键添加 WireGuard 对等端并下载其配置文件
            3. **监控连接** — 查看所有客户端的实时连接状态、数据传输和最后握手时间
            4. **管理客户端** — 直接从网页界面启用、禁用或删除 VPN 客户端
            5. **下载配置** — 下载客户端配置文件或扫描 QR 码供移动设备使用

            ## 主要功能

            - 一键创建和管理 WireGuard VPN 客户端
            - 美观直观的网页管理仪表板
            - QR 码生成，轻松设置移动客户端
            - 实时连接监控与传输统计
            - 启用/禁用客户端而不删除其配置
            - 自动服务器配置和密钥生成
            - 客户端配置文件下载支持
            - 响应式网页界面，任何设备皆可访问
            - 密码保护的管理员访问

            ## 重要注意事项

            - 此服务需要 NET_ADMIN 和 NET_RAW 权限，某些托管平台可能不支持
            - WireGuard UDP 端口 51820 必须可访问以进行 VPN 连接
            - 请将 WG_HOST 环境变量设置为服务器的公开域名或 IP

            ## 许可证

            AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
    zh-TW:
        description: |
            WireGuard Easy 提供最簡單的方式來執行 WireGuard VPN 伺服器，並附帶基於網頁的管理介面。讓您透過直覺的儀表板建立、管理和監控 VPN 客戶端，無需手動編輯設定檔。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 WireGuard Easy 網頁管理介面的網域
            - key: PASSWORD_HASH
              type: STRING
              name: 管理員密碼雜湊
              description: 網頁管理介面的管理員密碼 Bcrypt 雜湊值
        readme: |
            # WireGuard Easy

            最簡單的方式執行 WireGuard VPN 伺服器，附帶美觀的網頁管理介面，用於建立和管理 VPN 客戶端。

            ## 部署後可以做什麼

            1. **開啟您的網域** — 存取 WireGuard Easy 網頁管理介面並使用管理員密碼登入
            2. **建立 VPN 客戶端** — 一鍵新增 WireGuard 對等端並下載其設定檔
            3. **監控連線** — 查看所有客戶端的即時連線狀態、資料傳輸和最後握手時間
            4. **管理客戶端** — 直接從網頁介面啟用、停用或刪除 VPN 客戶端
            5. **下載設定** — 下載客戶端設定檔或掃描 QR 碼供行動裝置使用

            ## 主要功能

            - 一鍵建立和管理 WireGuard VPN 客戶端
            - 美觀直覺的網頁管理儀表板
            - QR 碼生成，輕鬆設定行動客戶端
            - 即時連線監控與傳輸統計
            - 啟用/停用客戶端而不刪除其設定
            - 自動伺服器設定和金鑰生成
            - 客戶端設定檔下載支援
            - 響應式網頁介面，任何裝置皆可存取
            - 密碼保護的管理員存取

            ## 重要注意事項

            - 此服務需要 NET_ADMIN 和 NET_RAW 權限，某些託管平台可能不支援
            - WireGuard UDP 連接埠 51820 必須可存取以進行 VPN 連線
            - 請將 WG_HOST 環境變數設定為伺服器的公開網域或 IP

            ## 授權條款

            AGPL-3.0 — [GitHub](https://github.com/wg-easy/wg-easy)
