# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Traggo
spec:
    description: |
        Traggo is a tag-based time tracking tool. Instead of traditional project/task hierarchies, Traggo lets you define custom tags and assign them to time entries for flexible, multi-dimensional tracking. Self-hosted with embedded SQLite.
    coverImage: https://traggo.net/images/traggo_dashboard.png
    icon: https://raw.githubusercontent.com/traggo/logo/master/logo.png
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Traggo
    tags:
        - Tool
        - Productivity
    readme: |
        # Traggo

        A tag-based time tracking tool. Define custom tags and assign them to time entries for flexible, multi-dimensional time tracking. Self-hosted with embedded SQLite — no external database needed.

        ## Default Credentials

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

        ## What You Can Do After Deployment

        1. **Visit your domain** — log in with the credentials above
        2. **Create tags** — define custom tags (e.g. project, client, activity)
        3. **Track time** — start/stop timers or add entries manually
        4. **View dashboards** — analyze time with calendar and list views
        5. **Change credentials** — go to **Service > Variables**, update `TRAGGO_DEFAULT_USER_NAME` and `TRAGGO_DEFAULT_USER_PASS`, then restart the service

        ## Key Features

        - Tag-based time tracking (no rigid hierarchies)
        - Calendar and list views
        - Customizable dashboards
        - Embedded SQLite (no external database)
        - Lightweight and fast

        ## License

        GPL-3.0 — [GitHub](https://github.com/traggo/server)
    services:
        - name: traggo
          icon: https://raw.githubusercontent.com/traggo/logo/master/logo.png
          template: PREBUILT_V2
          spec:
            source:
                image: traggo/server:0.8.3
            ports:
                - id: web
                  port: 3030
                  type: HTTP
            volumes:
                - id: traggo-data
                  dir: /opt/traggo/data
            env:
                TRAGGO_DEFAULT_USER_NAME:
                    default: admin
                TRAGGO_DEFAULT_USER_PASS:
                    default: ${PASSWORD}
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Traggo es una herramienta de seguimiento de tiempo basada en etiquetas. Define etiquetas personalizadas en lugar de jerarquias rigidas de proyectos/tareas para un seguimiento flexible y multidimensional. Autoalojado con SQLite integrado.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Traggo
        readme: |
            # Traggo

            Herramienta de seguimiento de tiempo basada en etiquetas. Define etiquetas personalizadas y asignalas a entradas de tiempo para un seguimiento flexible. SQLite integrado, sin base de datos externa.

            ## Credenciales por defecto

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

            ## Que puedes hacer despues del despliegue

            1. **Visita tu dominio** — inicia sesion con las credenciales de arriba
            2. **Crea etiquetas** — define etiquetas personalizadas (ej. proyecto, cliente, actividad)
            3. **Registra tiempo** — inicia/detiene temporizadores o agrega entradas manualmente
            4. **Consulta dashboards** — analiza el tiempo con vistas de calendario y lista
            5. **Cambia las credenciales** — ve a **Servicio > Variables**, actualiza `TRAGGO_DEFAULT_USER_NAME` y `TRAGGO_DEFAULT_USER_PASS`, y reinicia el servicio

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/traggo/server)
    id-ID:
        description: |
            Traggo adalah alat pelacakan waktu berbasis tag. Tentukan tag kustom sebagai pengganti hierarki proyek/tugas tradisional untuk pelacakan waktu yang fleksibel dan multidimensi. Self-hosted dengan SQLite bawaan.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Traggo
        readme: |
            # Traggo

            Alat pelacakan waktu berbasis tag. Tentukan tag kustom dan tetapkan ke entri waktu untuk pelacakan yang fleksibel. SQLite bawaan, tanpa database eksternal.

            ## Info Login Default

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

            ## Apa yang bisa dilakukan setelah deploy

            1. **Buka domain** — login dengan kredensial di atas
            2. **Buat tag** — tentukan tag kustom (misal: proyek, klien, aktivitas)
            3. **Lacak waktu** — mulai/hentikan timer atau tambahkan entri secara manual
            4. **Lihat dashboard** — analisis waktu dengan tampilan kalender dan daftar
            5. **Ubah kredensial** — buka **Service > Variables**, perbarui `TRAGGO_DEFAULT_USER_NAME` dan `TRAGGO_DEFAULT_USER_PASS`, lalu restart layanan

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/traggo/server)
    ja-JP:
        description: |
            Traggo はタグベースの時間追跡ツールです。従来のプロジェクト/タスク階層の代わりにカスタムタグを定義し、柔軟な多次元の時間追跡を実現します。セルフホスト、SQLite 内蔵。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Traggo にアクセスするためのドメイン
        readme: |
            # Traggo

            タグベースの時間追跡ツール。カスタムタグを定義して時間エントリに割り当て、柔軟な多次元の時間追跡を実現。SQLite 内蔵、外部データベース不要。

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

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

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

            1. **ドメインにアクセス** — 上記の認証情報でログイン
            2. **タグを作成** — カスタムタグを定義（例：プロジェクト、クライアント、アクティビティ）
            3. **時間を追跡** — タイマーの開始/停止または手動でエントリを追加
            4. **ダッシュボードを確認** — カレンダーやリストビューで時間を分析
            5. **認証情報を変更** — **サービス > Variables** で `TRAGGO_DEFAULT_USER_NAME` と `TRAGGO_DEFAULT_USER_PASS` を更新し、サービスを再起動

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/traggo/server)
    ko-KR:
        description: |
            Traggo는 태그 기반 시간 추적 도구입니다. 기존의 프로젝트/작업 계층 대신 커스텀 태그를 정의하여 유연한 다차원 시간 추적이 가능합니다. 셀프 호스팅, SQLite 내장.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Traggo에 접속할 도메인
        readme: |
            # Traggo

            태그 기반 시간 추적 도구. 커스텀 태그를 정의하고 시간 항목에 할당하여 유연한 다차원 시간 추적 가능. SQLite 내장, 외부 데이터베이스 불필요.

            ## 기본 로그인 정보

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

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** — 위 자격 증명으로 로그인
            2. **태그 생성** — 커스텀 태그 정의 (예: 프로젝트, 클라이언트, 활동)
            3. **시간 추적** — 타이머 시작/정지 또는 수동으로 항목 추가
            4. **대시보드 확인** — 캘린더 및 목록 뷰로 시간 분석
            5. **자격 증명 변경** — **서비스 > Variables** 에서 `TRAGGO_DEFAULT_USER_NAME` 과 `TRAGGO_DEFAULT_USER_PASS` 를 수정하고 서비스 재시작

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/traggo/server)
    th-TH:
        description: |
            Traggo เป็นเครื่องมือติดตามเวลาแบบแท็ก กำหนดแท็กที่กำหนดเองแทนลำดับชั้นโปรเจกต์/งานแบบดั้งเดิม เพื่อการติดตามเวลาที่ยืดหยุ่นและหลายมิติ Self-hosted พร้อม SQLite ในตัว
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Traggo
        readme: |
            # Traggo

            เครื่องมือติดตามเวลาแบบแท็ก กำหนดแท็กที่กำหนดเองและกำหนดให้กับรายการเวลา SQLite ในตัว ไม่ต้องใช้ฐานข้อมูลภายนอก

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

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

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

            1. **เข้าสู่โดเมน** — เข้าสู่ระบบด้วยข้อมูลด้านบน
            2. **สร้างแท็ก** — กำหนดแท็กที่กำหนดเอง (เช่น โปรเจกต์ ลูกค้า กิจกรรม)
            3. **ติดตามเวลา** — เริ่ม/หยุดตัวจับเวลาหรือเพิ่มรายการด้วยตนเอง
            4. **ดูแดชบอร์ด** — วิเคราะห์เวลาด้วยมุมมองปฏิทินและรายการ
            5. **เปลี่ยนข้อมูลเข้าสู่ระบบ** — ไปที่ **Service > Variables** แก้ไข `TRAGGO_DEFAULT_USER_NAME` และ `TRAGGO_DEFAULT_USER_PASS` แล้วรีสตาร์ทบริการ

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

            GPL-3.0 — [GitHub](https://github.com/traggo/server)
    zh-CN:
        description: |
            Traggo 是基于标签的时间追踪工具。以自定义标签替代传统的项目/任务层级，灵活地进行多维度时间追踪。自托管部署，内置 SQLite。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Traggo 的域名
        readme: |
            # Traggo

            基于标签的时间追踪工具。自定义标签并分配给时间记录，进行灵活的多维度时间追踪。内置 SQLite，无需外部数据库。

            ## 默认登录信息

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

            ## 部署后可以做什么

            1. **打开域名** — 使用上方账号密码登录
            2. **创建标签** — 定义自定义标签（如项目、客户、活动）
            3. **追踪时间** — 启动/停止计时器或手动添加记录
            4. **查看仪表板** — 通过日历和列表视图分析时间
            5. **更改账密** — 前往 **服务 > Variables** 修改 `TRAGGO_DEFAULT_USER_NAME` 和 `TRAGGO_DEFAULT_USER_PASS`，然后重启服务

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/traggo/server)
    zh-TW:
        description: |
            Traggo 是基於標籤的時間追蹤工具。以自訂標籤取代傳統的專案/任務階層，靈活地進行多維度時間追蹤。自架部署，內建 SQLite。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Traggo 的網域
        readme: |
            # Traggo

            基於標籤的時間追蹤工具。自訂標籤並指派給時間紀錄，進行靈活的多維度時間追蹤。內建 SQLite，無需外部資料庫。

            ## 預設登入資訊

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

            ## 部署後可以做什麼

            1. **開啟網域** — 使用上方帳號密碼登入
            2. **建立標籤** — 定義自訂標籤（如專案、客戶、活動）
            3. **追蹤時間** — 啟動/停止計時器或手動新增紀錄
            4. **檢視儀表板** — 透過日曆和列表檢視分析時間
            5. **變更帳密** — 至 **服務 > Variables** 修改 `TRAGGO_DEFAULT_USER_NAME` 和 `TRAGGO_DEFAULT_USER_PASS`，然後重啟服務

            ## 授權

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