# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Discount-Bandit
spec:
    description: |
        A self-hosted price tracker for Amazon, AliExpress, eBay and custom stores. Track product prices, set alerts, and get notified when prices drop. Uses SQLite by default with no external database required.
    coverImage: https://avatars.githubusercontent.com/u/40347394?v=4
    icon: https://avatars.githubusercontent.com/u/40347394?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access Discount Bandit
    tags:
        - E-commerce
        - Utilities
    readme: |
        # Discount Bandit

        Discount Bandit is a self-hosted price tracker that monitors product prices across Amazon, AliExpress, eBay and custom stores. Set price alerts and get notified when prices match your criteria. Uses SQLite by default with no external database required.

        ## First-Time Setup

        1. Click the deployed URL to open Discount Bandit.
        2. Create an account on the registration page.
        3. Add products by pasting store URLs.
        4. Set price thresholds and notification preferences.

        ## Default Port

        - **80** (HTTP)

        ## Useful Links

        - [Discount Bandit Official Site](https://discount-bandit.cybrarist.com)
        - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)
        - [Environment Variables](https://discount-bandit.cybrarist.com/installation/environments)

        ## License

        GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
    services:
        - name: discount-bandit
          icon: https://avatars.githubusercontent.com/u/40347394?v=4
          template: PREBUILT_V2
          spec:
            source:
                image: cybrarist/discount-bandit:v4
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: database
                  dir: /var/www/html/database
                - id: logs
                  dir: /var/www/html/storage/logs
            env:
                APP_KEY:
                    default: ${PASSWORD}
                APP_TIMEZONE:
                    default: UTC
                APP_URL:
                    default: ${ZEABUR_WEB_URL}
                ASSET_URL:
                    default: ${ZEABUR_WEB_URL}
                CRON:
                    default: '*/5 * * * *'
                DB_CONNECTION:
                    default: sqlite
                THEME_COLOR:
                    default: Stone
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            Rastreador de precios autohospedado para Amazon, AliExpress, eBay y tiendas personalizadas. Rastrea precios de productos, configura alertas y recibe notificaciones cuando los precios bajen. Usa SQLite por defecto sin necesidad de base de datos externa.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a Discount Bandit
        readme: |
            # Discount Bandit

            Discount Bandit es un rastreador de precios autohospedado que monitorea precios en Amazon, AliExpress, eBay y tiendas personalizadas. Configura alertas de precio y recibe notificaciones cuando los precios cumplan tus criterios. Usa SQLite por defecto sin necesidad de base de datos externa.

            ## Configuracion inicial

            1. Haz clic en la URL desplegada para abrir Discount Bandit.
            2. Crea una cuenta en la pagina de registro.
            3. Agrega productos pegando las URLs de las tiendas.
            4. Configura los umbrales de precio y preferencias de notificacion.

            ## Puerto predeterminado

            - **80** (HTTP)

            ## Enlaces utiles

            - [Sitio oficial de Discount Bandit](https://discount-bandit.cybrarist.com)
            - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)

            ## Licencia

            GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
    id-ID:
        description: |
            Pelacak harga self-hosted untuk Amazon, AliExpress, eBay, dan toko kustom. Lacak harga produk, atur peringatan, dan dapatkan notifikasi saat harga turun. Menggunakan SQLite secara default tanpa memerlukan database eksternal.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses Discount Bandit
        readme: |
            # Discount Bandit

            Discount Bandit adalah pelacak harga self-hosted yang memantau harga produk di Amazon, AliExpress, eBay, dan toko kustom. Atur peringatan harga dan dapatkan notifikasi saat harga memenuhi kriteria Anda. Menggunakan SQLite secara default tanpa memerlukan database eksternal.

            ## Pengaturan Awal

            1. Klik URL yang telah di-deploy untuk membuka Discount Bandit.
            2. Buat akun di halaman pendaftaran.
            3. Tambahkan produk dengan menempelkan URL toko.
            4. Atur ambang batas harga dan preferensi notifikasi.

            ## Port Default

            - **80** (HTTP)

            ## Tautan Berguna

            - [Situs Resmi Discount Bandit](https://discount-bandit.cybrarist.com)
            - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)

            ## Lisensi

            GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
    ja-JP:
        description: |
            Amazon、AliExpress、eBay、カスタムストアに対応したセルフホスト型価格追跡ツール。商品価格を追跡し、アラートを設定して価格が下がった時に通知を受け取れます。デフォルトで SQLite を使用し、外部データベース不要。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: Discount Bandit にアクセスするためのドメイン
        readme: |
            # Discount Bandit

            Discount Bandit は Amazon、AliExpress、eBay、カスタムストアの商品価格を監視するセルフホスト型価格追跡ツールです。価格アラートを設定し、条件に合致した時に通知を受け取れます。デフォルトで SQLite を使用し、外部データベースは不要です。

            ## 初回セットアップ

            1. デプロイされた URL をクリックして Discount Bandit を開きます。
            2. 登録ページでアカウントを作成します。
            3. ストアの URL を貼り付けて商品を追加します。
            4. 価格しきい値と通知設定を行います。

            ## デフォルトポート

            - **80** (HTTP)

            ## 関連リンク

            - [Discount Bandit 公式サイト](https://discount-bandit.cybrarist.com)
            - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)

            ## ライセンス

            GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
    ko-KR:
        description: |
            Amazon, AliExpress, eBay 및 커스텀 스토어를 지원하는 셀프 호스팅 가격 추적기. 상품 가격을 추적하고 알림을 설정하여 가격이 하락하면 알림을 받을 수 있습니다. 기본적으로 SQLite를 사용하며 외부 데이터베이스가 필요 없습니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: Discount Bandit에 접속할 도메인
        readme: |
            # Discount Bandit

            Discount Bandit는 Amazon, AliExpress, eBay 및 커스텀 스토어의 상품 가격을 모니터링하는 셀프 호스팅 가격 추적기입니다. 가격 알림을 설정하고 조건에 맞을 때 알림을 받을 수 있습니다. 기본적으로 SQLite를 사용하며 외부 데이터베이스가 필요 없습니다.

            ## 초기 설정

            1. 배포된 URL을 클릭하여 Discount Bandit를 엽니다.
            2. 등록 페이지에서 계정을 만듭니다.
            3. 스토어 URL을 붙여넣어 상품을 추가합니다.
            4. 가격 임계값과 알림 설정을 구성합니다.

            ## 기본 포트

            - **80** (HTTP)

            ## 관련 링크

            - [Discount Bandit 공식 사이트](https://discount-bandit.cybrarist.com)
            - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)

            ## 라이선스

            GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
    th-TH:
        description: |
            เครื่องมือติดตามราคาแบบ self-hosted สำหรับ Amazon, AliExpress, eBay และร้านค้าแบบกำหนดเอง ติดตามราคาสินค้า ตั้งการแจ้งเตือน และรับการแจ้งเตือนเมื่อราคาลดลง ใช้ SQLite เป็นค่าเริ่มต้น ไม่ต้องใช้ฐานข้อมูลภายนอก
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง Discount Bandit
        readme: |
            # Discount Bandit

            Discount Bandit เป็นเครื่องมือติดตามราคาแบบ self-hosted ที่ตรวจสอบราคาสินค้าใน Amazon, AliExpress, eBay และร้านค้าแบบกำหนดเอง ตั้งการแจ้งเตือนราคาและรับการแจ้งเตือนเมื่อราคาตรงกับเกณฑ์ของคุณ ใช้ SQLite เป็นค่าเริ่มต้น ไม่ต้องใช้ฐานข้อมูลภายนอก

            ## การตั้งค่าเริ่มต้น

            1. คลิก URL ที่ deploy แล้วเพื่อเปิด Discount Bandit
            2. สร้างบัญชีที่หน้าลงทะเบียน
            3. เพิ่มสินค้าโดยวาง URL ของร้านค้า
            4. ตั้งค่าเกณฑ์ราคาและการแจ้งเตือน

            ## พอร์ตเริ่มต้น

            - **80** (HTTP)

            ## ลิงก์ที่เป็นประโยชน์

            - [เว็บไซต์ทางการ Discount Bandit](https://discount-bandit.cybrarist.com)
            - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)

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

            GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
    zh-CN:
        description: |
            自托管的商品价格追踪器，支持 Amazon、AliExpress、eBay 及自定义商店。追踪商品价格、设置提醒，在价格下降时收到通知。默认使用 SQLite，无需外部数据库。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 Discount Bandit 的域名
        readme: |
            # Discount Bandit

            Discount Bandit 是一款自托管的商品价格追踪器，可监控 Amazon、AliExpress、eBay 及自定义商店的商品价格。设置价格提醒，在价格符合条件时收到通知。默认使用 SQLite，无需外部数据库。

            ## 首次设置

            1. 点击部署后的网址打开 Discount Bandit。
            2. 在注册页面创建账号。
            3. 粘贴商店网址添加商品。
            4. 设置价格阈值及通知偏好。

            ## 默认端口

            - **80** (HTTP)

            ## 相关链接

            - [Discount Bandit 官方网站](https://discount-bandit.cybrarist.com)
            - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)

            ## 授权

            GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
    zh-TW:
        description: |
            自架的商品價格追蹤器，支援 Amazon、AliExpress、eBay 及自訂商店。追蹤商品價格、設定提醒，在價格下降時收到通知。預設使用 SQLite，無需外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 Discount Bandit 的網域
        readme: |
            # Discount Bandit

            Discount Bandit 是一款自架的商品價格追蹤器，可監控 Amazon、AliExpress、eBay 及自訂商店的商品價格。設定價格提醒，在價格符合條件時收到通知。預設使用 SQLite，無需外部資料庫。

            ## 首次設定

            1. 點擊部署後的網址開啟 Discount Bandit。
            2. 在註冊頁面建立帳號。
            3. 貼上商店網址新增商品。
            4. 設定價格門檻及通知偏好。

            ## 預設埠

            - **80** (HTTP)

            ## 相關連結

            - [Discount Bandit 官方網站](https://discount-bandit.cybrarist.com)
            - [Discount Bandit GitHub](https://github.com/Cybrarist/Discount-Bandit)

            ## 授權

            GPL-3.0 — [GitHub](https://github.com/Cybrarist/Discount-Bandit)
