# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Ombre Brain
spec:
    description: Self-hosted long-term emotional memory for Claude and other MCP clients, with Obsidian-compatible storage, forgetting curves, and semantic search.
    icon: https://avatars.githubusercontent.com/u/276333317?v=4
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Public Domain
          description: HTTPS domain for the Dashboard and MCP endpoint.
    tags:
        - AI
        - Tool
    readme: |-
        # Ombre Brain

        Self-hosted long-term emotional memory for Claude and other MCP clients.

        After deployment, open the public domain, sign in with the generated Dashboard password, complete `/onboarding`, and set the public connection URL to `https://${PUBLIC_DOMAIN}`. Configure the compression LLM API key in Dashboard settings, then connect your MCP client to `https://${PUBLIC_DOMAIN}/mcp`.

        Memory data and configuration persist in `/app/buckets`.

        Source: https://github.com/P0luz/Ombre-Brain
    services:
        - name: ombre-brain
          icon: https://avatars.githubusercontent.com/u/276333317?v=4
          template: GIT
          spec:
            id: ombre-brain
            source:
                source: GITHUB
                repo: 1211613174
                branch: main
            ports:
                - id: web
                  port: 8000
                  type: HTTP
            volumes:
                - id: memory-data
                  dir: /app/buckets
            instructions:
                - title: Dashboard
                  content: https://${PUBLIC_DOMAIN}
                - title: Dashboard Password
                  content: ${OMBRE_DASHBOARD_PASSWORD}
                - title: MCP Endpoint
                  content: https://${PUBLIC_DOMAIN}/mcp
            env:
                OMBRE_CONFIG_PATH:
                    default: /app/buckets/config.yaml
                OMBRE_DASHBOARD_PASSWORD:
                    default: ${PASSWORD}
                    expose: true
                OMBRE_TRANSPORT:
                    default: streamable-http
          domainKey: PUBLIC_DOMAIN
localization:
    zh-CN:
        description: 面向 Claude 和其他 MCP 客户端的自托管长期情绪记忆系统，支持 Obsidian 兼容存储、遗忘曲线和语义检索。
        variables:
            - key: PUBLIC_DOMAIN
              type: DOMAIN
              name: 公网域名
              description: Dashboard 与 MCP 接口使用的 HTTPS 域名。
        readme: |-
            # Ombre Brain

            面向 Claude 和其他 MCP 客户端的自托管长期情绪记忆系统。

            部署后打开公网域名，使用自动生成的 Dashboard 密码登录，完成 `/onboarding`，并将公网连接地址设为 `https://${PUBLIC_DOMAIN}`。在 Dashboard 中配置压缩 LLM API Key，然后把 MCP 客户端连接到 `https://${PUBLIC_DOMAIN}/mcp`。

            记忆数据和配置持久化在 `/app/buckets`。

            源码：https://github.com/P0luz/Ombre-Brain
