# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Nginx UI
spec:
    description: |
        Nginx UI is a comprehensive web-based interface for managing Nginx servers. It provides real-time server stats, online ChatGPT assistant, one-click Let's Encrypt certificate deployment, auto-renewal, online editing of Nginx configurations, and a built-in terminal. All data stored in SQLite — no external database required.
    coverImage: https://raw.githubusercontent.com/0xJacky/nginx-ui/master/app/public/screenshots/dashboard.png
    icon: https://avatars.githubusercontent.com/u/168877725
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Nginx UI
    tags:
        - Tool
        - Developer Tools
    readme: |
        # Nginx UI

        A web-based interface for managing Nginx servers with real-time stats, config editing, and automatic SSL certificate management.

        ## First Login

        On first visit, you will be prompted to create an admin account. No default credentials are set.

        ## What You Can Do After Deployment

        1. **Visit your domain** — create your admin account on first launch
        2. **Manage Nginx configs** — edit, test, and reload configurations from the browser
        3. **Monitor server stats** — view CPU, memory, disk, and network usage in real time
        4. **SSL certificates** — deploy and auto-renew Let's Encrypt certificates with one click
        5. **Built-in terminal** — run commands directly from the web UI
        6. **Dark mode** — toggle between light and dark themes

        ## Key Features

        - Real-time CPU, memory, disk, and network monitoring
        - Online Nginx configuration editor with syntax highlighting
        - One-click Let's Encrypt SSL with auto-renewal
        - Built-in web terminal
        - Two-factor authentication
        - SQLite storage (no external database)

        ## License

        AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
    services:
        - name: nginx-ui
          icon: https://avatars.githubusercontent.com/u/168877725
          template: PREBUILT_V2
          spec:
            source:
                image: uozi/nginx-ui:v2.3.5
            ports:
                - id: web
                  port: 8080
                  type: HTTP
            volumes:
                - id: nginx-ui-data
                  dir: /etc/nginx-ui
                - id: nginx-config
                  dir: /etc/nginx
            env:
                NGINX_UI_OFFICIAL:
                    default: "true"
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Nginx UI es una interfaz web completa para gestionar servidores Nginx. Ofrece estadisticas en tiempo real, despliegue de certificados Let's Encrypt con un clic, renovacion automatica, edicion online de configuraciones Nginx y terminal integrado. Datos almacenados en SQLite, sin base de datos externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Nginx UI
        readme: |
            # Nginx UI

            Interfaz web para gestionar servidores Nginx con estadisticas en tiempo real, edicion de configuraciones y gestion automatica de certificados SSL.

            ## Primer inicio de sesion

            En la primera visita se le pedira crear una cuenta de administrador. No hay credenciales predeterminadas.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — crea tu cuenta de administrador en el primer inicio
            2. **Gestiona configuraciones Nginx** — edita, prueba y recarga configuraciones desde el navegador
            3. **Monitorea estadisticas** — consulta CPU, memoria, disco y red en tiempo real
            4. **Certificados SSL** — despliega y renueva automaticamente certificados Let's Encrypt
            5. **Terminal integrado** — ejecuta comandos directamente desde la interfaz web
            6. **Modo oscuro** — alterna entre temas claro y oscuro

            ## Licencia

            AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
    id-ID:
        description: |
            Nginx UI adalah antarmuka web lengkap untuk mengelola server Nginx. Menyediakan statistik server real-time, deploy sertifikat Let's Encrypt satu klik, perpanjangan otomatis, pengeditan konfigurasi Nginx online, dan terminal bawaan. Data disimpan di SQLite, tanpa database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Nginx UI
        readme: |
            # Nginx UI

            Antarmuka web untuk mengelola server Nginx dengan statistik real-time, pengeditan konfigurasi, dan manajemen sertifikat SSL otomatis.

            ## Login Pertama

            Pada kunjungan pertama, Anda akan diminta membuat akun administrator. Tidak ada kredensial default.

            ## Yang Dapat Dilakukan Setelah Deploy

            1. **Kunjungi domain** — buat akun administrator pada peluncuran pertama
            2. **Kelola konfigurasi Nginx** — edit, uji, dan muat ulang konfigurasi dari browser
            3. **Pantau statistik server** — lihat CPU, memori, disk, dan jaringan secara real-time
            4. **Sertifikat SSL** — deploy dan perpanjang otomatis sertifikat Let's Encrypt
            5. **Terminal bawaan** — jalankan perintah langsung dari antarmuka web
            6. **Mode gelap** — beralih antara tema terang dan gelap

            ## Lisensi

            AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
    ja-JP:
        description: |
            Nginx UI は Nginx サーバーの包括的なウェブ管理インターフェースです。リアルタイムのサーバー統計、ワンクリックでの Let's Encrypt 証明書デプロイ、自動更新、Nginx 設定のオンライン編集、内蔵ターミナルを提供します。データは SQLite に保存され、外部データベースは不要です。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Nginx UI にアクセスするためのドメイン
        readme: |
            # Nginx UI

            Nginx サーバーのウェブ管理インターフェース。リアルタイム統計、設定編集、自動 SSL 証明書管理を提供。

            ## 初回ログイン

            初回アクセス時に管理者アカウントの作成を求められます。デフォルトの認証情報はありません。

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

            1. **ドメインにアクセス** — 初回起動時に管理者アカウントを作成
            2. **Nginx 設定を管理** — ブラウザで設定を編集、テスト、リロード
            3. **サーバー統計を監視** — CPU、メモリ、ディスク、ネットワーク使用量をリアルタイムで表示
            4. **SSL 証明書** — Let's Encrypt 証明書をワンクリックでデプロイ・自動更新
            5. **内蔵ターミナル** — ウェブ UI からコマンドを直接実行
            6. **ダークモード** — ライト・ダークテーマを切替

            ## ライセンス

            AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
    ko-KR:
        description: |
            Nginx UI는 Nginx 서버를 위한 종합적인 웹 관리 인터페이스입니다. 실시간 서버 통계, 원클릭 Let's Encrypt 인증서 배포, 자동 갱신, Nginx 설정 온라인 편집 및 내장 터미널을 제공합니다. 데이터는 SQLite에 저장되며 외부 데이터베이스가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Nginx UI에 접속할 도메인
        readme: |
            # Nginx UI

            Nginx 서버의 웹 관리 인터페이스. 실시간 통계, 설정 편집, 자동 SSL 인증서 관리 제공.

            ## 첫 로그인

            첫 방문 시 관리자 계정 생성을 요청합니다. 기본 자격 증명은 없습니다.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 첫 실행 시 관리자 계정 생성
            2. **Nginx 설정 관리** — 브라우저에서 설정 편집, 테스트 및 리로드
            3. **서버 통계 모니터링** — CPU, 메모리, 디스크, 네트워크 사용량 실시간 확인
            4. **SSL 인증서** — Let's Encrypt 인증서 원클릭 배포 및 자동 갱신
            5. **내장 터미널** — 웹 UI에서 직접 명령 실행
            6. **다크 모드** — 라이트/다크 테마 전환

            ## 라이선스

            AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
    th-TH:
        description: |
            Nginx UI เป็นเว็บอินเทอร์เฟซครบวงจรสำหรับจัดการเซิร์ฟเวอร์ Nginx มีสถิติเซิร์ฟเวอร์แบบเรียลไทม์ ติดตั้งใบรับรอง Let's Encrypt ด้วยคลิกเดียว ต่ออายุอัตโนมัติ แก้ไขคอนฟิก Nginx ออนไลน์ และเทอร์มินัลในตัว ข้อมูลเก็บใน SQLite ไม่ต้องการฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Nginx UI
        readme: |
            # Nginx UI

            เว็บอินเทอร์เฟซสำหรับจัดการเซิร์ฟเวอร์ Nginx พร้อมสถิติแบบเรียลไทม์ แก้ไขคอนฟิก และจัดการใบรับรอง SSL อัตโนมัติ

            ## เข้าสู่ระบบครั้งแรก

            เมื่อเข้าชมครั้งแรก ระบบจะขอให้สร้างบัญชีผู้ดูแลระบบ ไม่มีข้อมูลเข้าสู่ระบบเริ่มต้น

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

            1. **เข้าสู่โดเมน** — สร้างบัญชีผู้ดูแลระบบเมื่อเปิดใช้ครั้งแรก
            2. **จัดการคอนฟิก Nginx** — แก้ไข ทดสอบ และโหลดคอนฟิกใหม่จากเบราว์เซอร์
            3. **ตรวจสอบสถิติเซิร์ฟเวอร์** — ดู CPU หน่วยความจำ ดิสก์ และเครือข่ายแบบเรียลไทม์
            4. **ใบรับรอง SSL** — ติดตั้งและต่ออายุใบรับรอง Let's Encrypt อัตโนมัติ
            5. **เทอร์มินัลในตัว** — รันคำสั่งจากเว็บอินเทอร์เฟซโดยตรง
            6. **โหมดมืด** — สลับระหว่างธีมสว่างและมืด

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

            AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
    zh-CN:
        description: |
            Nginx UI 是一个全面的 Nginx 管理网页界面。提供实时服务器状态、一键部署 Let's Encrypt 证书、自动续期、在线编辑 Nginx 配置文件及内置终端。所有数据存储于 SQLite，无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Nginx UI 的域名
        readme: |
            # Nginx UI

            Nginx 服务器的网页管理界面，提供实时状态监控、配置文件编辑及自动 SSL 证书管理。

            ## 首次登录

            首次访问时会要求创建管理员账号，没有默认账密。

            ## 部署后可以做什么

            1. **访问域名** — 首次启动时创建管理员账号
            2. **管理 Nginx 配置** — 在浏览器中编辑、测试并重新加载配置
            3. **监控服务器状态** — 实时查看 CPU、内存、磁盘和网络使用量
            4. **SSL 证书** — 一键部署及自动续期 Let's Encrypt 证书
            5. **内置终端** — 直接在网页界面执行命令
            6. **深色模式** — 切换明暗主题

            ## 授权

            AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
    zh-TW:
        description: |
            Nginx UI 是一個全面的 Nginx 管理網頁介面。提供即時伺服器狀態、一鍵部署 Let's Encrypt 憑證、自動續期、線上編輯 Nginx 設定檔及內建終端機。所有資料儲存於 SQLite，無需外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Nginx UI 的網域
        readme: |
            # Nginx UI

            Nginx 伺服器的網頁管理介面，提供即時狀態監控、設定檔編輯及自動 SSL 憑證管理。

            ## 首次登入

            首次造訪時會要求建立管理員帳號，沒有預設帳密。

            ## 部署後可以做什麼

            1. **造訪網域** — 首次啟動時建立管理員帳號
            2. **管理 Nginx 設定** — 在瀏覽器中編輯、測試並重新載入設定
            3. **監控伺服器狀態** — 即時查看 CPU、記憶體、磁碟和網路使用量
            4. **SSL 憑證** — 一鍵部署及自動續期 Let's Encrypt 憑證
            5. **內建終端機** — 直接在網頁介面執行命令
            6. **深色模式** — 切換明暗主題

            ## 授權

            AGPL-3.0 — [GitHub](https://github.com/0xJacky/nginx-ui)
