# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: LLDAP
spec:
    description: |
        LLDAP is a lightweight LDAP server with a built-in web UI for user management. It uses an embedded database, making it easy to deploy without external dependencies. Ideal for small to medium setups needing centralized authentication.
    coverImage: https://avatars.githubusercontent.com/u/94840985?v=4
    icon: https://avatars.githubusercontent.com/u/94840985?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access LLDAP web UI
    tags:
        - Tool
    readme: |
        # LLDAP

        A lightweight LDAP server with a built-in web UI for managing users and groups. Uses an embedded database so no external database is needed.

        ## Default Credentials

        - **Username**: `admin`
        - **Password**: auto-generated — find it in your Zeabur dashboard under **Service > Variables > `LLDAP_LDAP_USER_PASS`**

        ## What You Can Do After Deployment

        1. **Visit your domain** — log in with the credentials above to access the web management UI
        2. **Create users and groups** — manage LDAP users and groups through the intuitive web interface
        3. **Configure LDAP clients** — point your applications to port 3890 for LDAP authentication using base DN from `LLDAP_LDAP_BASE_DN`
        4. **Integrate with other services** — use LLDAP as the authentication backend for services like Nextcloud, Gitea, Authelia, and more

        ## Ports

        - **17170** — Web management UI (exposed via domain)
        - **3890** — LDAP protocol (for client connections)

        ## Key Features

        - Lightweight LDAP implementation
        - Built-in web UI for user/group management
        - Embedded database (no external DB required)
        - Password reset via email
        - GraphQL API for programmatic access
        - Compatible with standard LDAP clients

        ## License

        GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
    services:
        - name: lldap
          icon: https://avatars.githubusercontent.com/u/94840985?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: lldap/lldap:2026-03-04-alpine
            ports:
                - id: web
                  port: 17170
                  type: HTTP
                - id: ldap
                  port: 3890
                  type: TCP
            volumes:
                - id: lldap-data
                  dir: /data
            env:
                LLDAP_JWT_SECRET:
                    default: ${PASSWORD}
                LLDAP_LDAP_BASE_DN:
                    default: dc=example,dc=com
                LLDAP_LDAP_USER_PASS:
                    default: ${PASSWORD}
                TZ:
                    default: UTC
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            LLDAP es un servidor LDAP ligero con interfaz web integrada para gestionar usuarios y grupos. Usa una base de datos embebida, sin dependencias externas.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a la interfaz web de LLDAP
        readme: |
            # LLDAP

            Servidor LDAP ligero con interfaz web para gestionar usuarios y grupos. Base de datos embebida, sin DB externa necesaria.

            ## Credenciales por defecto

            - **Usuario**: `admin`
            - **Contrasena**: generada automaticamente — consultala en el panel de Zeabur en **Servicio > Variables > `LLDAP_LDAP_USER_PASS`**

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — inicia sesion con las credenciales de arriba
            2. **Crea usuarios y grupos** — gestiona usuarios y grupos LDAP desde la interfaz web
            3. **Configura clientes LDAP** — apunta tus aplicaciones al puerto 3890 para autenticacion LDAP
            4. **Integra con otros servicios** — usa LLDAP como backend de autenticacion para Nextcloud, Gitea, Authelia, etc.

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
    id-ID:
        description: |
            LLDAP adalah server LDAP ringan dengan antarmuka web bawaan untuk mengelola pengguna dan grup. Menggunakan database tertanam, tanpa dependensi eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses antarmuka web LLDAP
        readme: |
            # LLDAP

            Server LDAP ringan dengan antarmuka web untuk mengelola pengguna dan grup. Database tertanam, tanpa DB eksternal.

            ## Info Login Default

            - **Username**: `admin`
            - **Password**: dibuat otomatis — lihat di dasbor Zeabur pada **Service > Variables > `LLDAP_LDAP_USER_PASS`**

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — login dengan kredensial di atas
            2. **Buat pengguna dan grup** — kelola pengguna dan grup LDAP melalui antarmuka web
            3. **Konfigurasi klien LDAP** — arahkan aplikasi ke port 3890 untuk autentikasi LDAP
            4. **Integrasikan dengan layanan lain** — gunakan LLDAP sebagai backend autentikasi untuk Nextcloud, Gitea, Authelia, dll.

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
    ja-JP:
        description: |
            LLDAP は軽量な LDAP サーバーで、ユーザーとグループ管理用の Web UI を内蔵しています。組み込みデータベースを使用し、外部依存なしでデプロイ可能です。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: LLDAP Web UI にアクセスするためのドメイン
        readme: |
            # LLDAP

            軽量な LDAP サーバー。Web UI でユーザーとグループを管理。組み込みデータベース使用で外部 DB 不要。

            ## デフォルトログイン情報

            - **ユーザー名**：`admin`
            - **パスワード**：自動生成 — Zeabur ダッシュボードの **サービス > Variables > `LLDAP_LDAP_USER_PASS`** で確認

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

            1. **ドメインにアクセス** — 上記の認証情報で Web 管理画面にログイン
            2. **ユーザーとグループを作成** — Web インターフェースで LDAP ユーザーとグループを管理
            3. **LDAP クライアントを設定** — アプリケーションをポート 3890 に向けて LDAP 認証
            4. **他のサービスと統合** — Nextcloud、Gitea、Authelia などの認証バックエンドとして使用

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
    ko-KR:
        description: |
            LLDAP는 사용자 및 그룹 관리를 위한 웹 UI가 내장된 경량 LDAP 서버입니다. 내장 데이터베이스를 사용하여 외부 의존성 없이 배포할 수 있습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: LLDAP 웹 UI에 접속할 도메인
        readme: |
            # LLDAP

            경량 LDAP 서버. 웹 UI로 사용자와 그룹 관리. 내장 데이터베이스 사용으로 외부 DB 불필요.

            ## 기본 로그인 정보

            - **사용자명**: `admin`
            - **비밀번호**: 자동 생성 — Zeabur 대시보드의 **서비스 > Variables > `LLDAP_LDAP_USER_PASS`** 에서 확인

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 위 자격 증명으로 웹 관리 화면에 로그인
            2. **사용자 및 그룹 생성** — 웹 인터페이스로 LDAP 사용자와 그룹 관리
            3. **LDAP 클라이언트 설정** — 애플리케이션을 포트 3890으로 향해 LDAP 인증
            4. **다른 서비스와 통합** — Nextcloud, Gitea, Authelia 등의 인증 백엔드로 사용

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
    th-TH:
        description: |
            LLDAP เป็นเซิร์ฟเวอร์ LDAP น้ำหนักเบาพร้อม Web UI ในตัวสำหรับจัดการผู้ใช้และกลุ่ม ใช้ฐานข้อมูลในตัว ไม่ต้องพึ่งพาภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง LLDAP Web UI
        readme: |
            # LLDAP

            เซิร์ฟเวอร์ LDAP น้ำหนักเบาพร้อม Web UI สำหรับจัดการผู้ใช้และกลุ่ม ใช้ฐานข้อมูลในตัว ไม่ต้องใช้ DB ภายนอก

            ## ข้อมูลเข้าสู่ระบบเริ่มต้น

            - **ชื่อผู้ใช้**: `admin`
            - **รหัสผ่าน**: สร้างอัตโนมัติ — ดูได้ที่แดชบอร์ด Zeabur ใน **Service > Variables > `LLDAP_LDAP_USER_PASS`**

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

            1. **เข้าสู่โดเมน** — เข้าสู่ระบบด้วยข้อมูลด้านบน
            2. **สร้างผู้ใช้และกลุ่ม** — จัดการผู้ใช้และกลุ่ม LDAP ผ่าน Web UI
            3. **กำหนดค่า LDAP client** — ชี้แอปพลิเคชันไปที่พอร์ต 3890 สำหรับการยืนยันตัวตน LDAP
            4. **เชื่อมต่อกับบริการอื่น** — ใช้ LLDAP เป็น backend การยืนยันตัวตนสำหรับ Nextcloud, Gitea, Authelia เป็นต้น

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

            GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
    zh-CN:
        description: |
            LLDAP 是轻量级 LDAP 服务器，内置 Web 管理界面用于管理用户和组。使用嵌入式数据库，无需外部依赖即可部署。适合需要集中认证的中小型环境。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 LLDAP Web 管理界面的域名
        readme: |
            # LLDAP

            轻量级 LDAP 服务器，内置 Web 界面管理用户和组。使用嵌入式数据库，无需额外数据库。

            ## 默认登录信息

            - **用户名**：`admin`
            - **密码**：自动生成 — 请在 Zeabur 控制台的 **服务 > Variables > `LLDAP_LDAP_USER_PASS`** 中查看

            ## 部署后可以做什么

            1. **打开域名** — 使用上方账号密码登录 Web 管理界面
            2. **创建用户和组** — 通过 Web 界面管理 LDAP 用户和组
            3. **配置 LDAP 客户端** — 将应用指向 3890 端口进行 LDAP 认证
            4. **集成其他服务** — 将 LLDAP 作为 Nextcloud、Gitea、Authelia 等服务的认证后端

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
    zh-TW:
        description: |
            LLDAP 是輕量級 LDAP 伺服器，內建網頁管理介面用於管理使用者與群組。使用嵌入式資料庫，無需額外依賴即可部署。適合需要集中認證的中小型環境。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 LLDAP 網頁管理介面的網域
        readme: |
            # LLDAP

            輕量級 LDAP 伺服器，內建網頁介面管理使用者與群組。使用嵌入式資料庫，無需額外資料庫。

            ## 預設登入資訊

            - **帳號**：`admin`
            - **密碼**：自動產生 — 請至 Zeabur 控制台的 **服務 > Variables > `LLDAP_LDAP_USER_PASS`** 查看

            ## 部署後可以做什麼

            1. **開啟網域** — 使用上方帳號密碼登入網頁管理介面
            2. **建立使用者與群組** — 透過直覺的網頁介面管理 LDAP 使用者與群組
            3. **設定 LDAP 用戶端** — 將應用程式指向 3890 連接埠進行 LDAP 認證
            4. **整合其他服務** — 將 LLDAP 作為 Nextcloud、Gitea、Authelia 等服務的認證後端

            ## 連接埠

            - **17170** — 網頁管理介面（透過網域存取）
            - **3890** — LDAP 協定（供用戶端連線）

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/lldap/lldap)
