# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Authelia
spec:
    description: |
        Authelia is an open-source authentication and authorization server providing two-factor authentication and single sign-on (SSO) for your applications via a web portal. It supports TOTP, WebAuthn, mobile push, and Duo Security.
    coverImage: https://www.authelia.com/images/branding/login-background.png
    icon: https://raw.githubusercontent.com/authelia/authelia/master/docs/static/images/branding/logo-cropped.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Authelia
    tags:
        - Tool
        - Security
    readme: |
        # Authelia

        An open-source authentication and authorization server providing two-factor authentication (2FA) and single sign-on (SSO) for your applications via a web portal.

        ## Default Credentials

        - **No default credentials** — Authelia requires configuration before first use

        ## What You Can Do After Deployment

        1. **Visit your domain** — you will see the Authelia login portal
        2. **Configure authentication backends** — set up LDAP or file-based user databases
        3. **Enable two-factor authentication** — TOTP, WebAuthn, or Duo Security
        4. **Protect your services** — integrate with reverse proxies (Traefik, Nginx, Caddy) to add SSO to any application
        5. **Set access control rules** — define fine-grained policies per domain, resource, or user group
        6. **Enable password reset** — configure SMTP for email-based password recovery

        ## Key Features

        - Single sign-on (SSO) portal
        - Two-factor authentication (TOTP, WebAuthn, Duo)
        - Fine-grained access control policies
        - LDAP and file-based user backends
        - OpenID Connect 1.0 provider
        - Password reset via email
        - Session management with SQLite, Redis, or PostgreSQL

        ## Important Notes

        Authelia stores session and configuration data in an embedded SQLite database by default. For production use, configure your authentication backend and access control rules via environment variables or a mounted configuration file.

        ## License

        Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
    services:
        - name: authelia
          icon: https://raw.githubusercontent.com/authelia/authelia/master/docs/static/images/branding/logo-cropped.png
          template: PREBUILT_V2
          spec:
            source:
                image: authelia/authelia:4.39.16
            ports:
                - id: web
                  port: 9091
                  type: HTTP
            volumes:
                - id: authelia-config
                  dir: /config
            env:
                AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET:
                    default: ${PASSWORD}
                AUTHELIA_SESSION_SECRET:
                    default: ${PASSWORD}
                AUTHELIA_STORAGE_ENCRYPTION_KEY:
                    default: ${PASSWORD}
                TZ:
                    default: UTC
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /api/health
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Authelia es un servidor de autenticacion y autorizacion de codigo abierto que proporciona autenticacion de dos factores (2FA) e inicio de sesion unico (SSO) a traves de un portal web.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Authelia
        readme: |
            # Authelia

            Servidor de autenticacion y autorizacion de codigo abierto con 2FA y SSO via portal web.

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — veras el portal de inicio de sesion de Authelia
            2. **Configura backends de autenticacion** — LDAP o base de datos de usuarios basada en archivos
            3. **Habilita autenticacion de dos factores** — TOTP, WebAuthn o Duo Security

            ## Licencia

            Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
    id-ID:
        description: |
            Authelia adalah server autentikasi dan otorisasi open-source yang menyediakan autentikasi dua faktor (2FA) dan single sign-on (SSO) melalui portal web.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Authelia
        readme: |
            # Authelia

            Server autentikasi dan otorisasi open-source dengan 2FA dan SSO via portal web.

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — Anda akan melihat portal login Authelia
            2. **Konfigurasi backend autentikasi** — LDAP atau database pengguna berbasis file
            3. **Aktifkan autentikasi dua faktor** — TOTP, WebAuthn, atau Duo Security

            ## Lisensi

            Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
    ja-JP:
        description: |
            Authelia はオープンソースの認証・認可サーバーで、Webポータルを通じてアプリケーションに二要素認証 (2FA) とシングルサインオン (SSO) を提供します。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Authelia にアクセスするためのドメイン
        readme: |
            # Authelia

            オープンソースの認証・認可サーバー。Webポータル経由で二要素認証とシングルサインオンを提供。

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

            1. **ドメインにアクセス** — Authelia ログインポータルが表示されます
            2. **認証バックエンドを設定** — LDAP またはファイルベースのユーザーデータベース
            3. **二要素認証を有効化** — TOTP、WebAuthn、Duo Security
            4. **サービスを保護** — リバースプロキシと統合して SSO を追加

            ## ライセンス

            Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
    ko-KR:
        description: |
            Authelia는 웹 포털을 통해 애플리케이션에 이중 인증(2FA)과 싱글 사인온(SSO)을 제공하는 오픈소스 인증 및 권한 부여 서버입니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Authelia에 접속할 도메인
        readme: |
            # Authelia

            오픈소스 인증 및 권한 부여 서버. 웹 포털을 통한 이중 인증과 싱글 사인온 제공.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — Authelia 로그인 포털이 표시됩니다
            2. **인증 백엔드 설정** — LDAP 또는 파일 기반 사용자 데이터베이스
            3. **이중 인증 활성화** — TOTP, WebAuthn, Duo Security

            ## 라이선스

            Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
    th-TH:
        description: |
            Authelia เป็นเซิร์ฟเวอร์ยืนยันตัวตนและอนุญาตแบบโอเพนซอร์ส ให้การยืนยันตัวตนสองขั้นตอน (2FA) และ Single Sign-On (SSO) ผ่านเว็บพอร์ทัล
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Authelia
        readme: |
            # Authelia

            เซิร์ฟเวอร์ยืนยันตัวตนและอนุญาตแบบโอเพนซอร์ส พร้อม 2FA และ SSO ผ่านเว็บพอร์ทัล

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

            1. **เข้าสู่โดเมน** — คุณจะเห็นหน้าเข้าสู่ระบบของ Authelia
            2. **กำหนดค่า backend การยืนยันตัวตน** — LDAP หรือฐานข้อมูลผู้ใช้แบบไฟล์
            3. **เปิดใช้การยืนยันตัวตนสองขั้นตอน** — TOTP, WebAuthn หรือ Duo Security

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

            Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
    zh-CN:
        description: |
            Authelia 是开源的认证与授权服务器，通过 Web 门户为您的应用提供双因素认证 (2FA) 和单点登录 (SSO)。支持 TOTP、WebAuthn、移动推送和 Duo Security。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Authelia 的域名
        readme: |
            # Authelia

            开源的认证与授权服务器，通过 Web 门户提供双因素认证 (2FA) 和单点登录 (SSO)。

            ## 部署后可以做什么

            1. **打开域名** — 您会看到 Authelia 登录门户
            2. **配置认证后端** — 设置 LDAP 或基于文件的用户数据库
            3. **启用双因素认证** — TOTP、WebAuthn 或 Duo Security
            4. **保护您的服务** — 与反向代理集成，为任何应用添加 SSO

            ## 授权

            Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
    zh-TW:
        description: |
            Authelia 是開源的認證與授權伺服器，透過網頁入口為您的應用程式提供雙因素認證 (2FA) 和單一登入 (SSO)。支援 TOTP、WebAuthn、行動推播和 Duo Security。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Authelia 的網域
        readme: |
            # Authelia

            開源的認證與授權伺服器，透過網頁入口提供雙因素認證 (2FA) 和單一登入 (SSO)。

            ## 部署後可以做什麼

            1. **開啟網域** — 您會看到 Authelia 登入入口
            2. **設定認證後端** — 設定 LDAP 或檔案式使用者資料庫
            3. **啟用雙因素認證** — TOTP、WebAuthn 或 Duo Security
            4. **保護您的服務** — 與反向代理整合，為任何應用程式加入 SSO
            5. **設定存取控制規則** — 依網域、資源或使用者群組定義細緻的存取政策

            ## 授權

            Apache-2.0 — [GitHub](https://github.com/authelia/authelia)
