{
  "manifest_version": "1.0.0",
  "template": {
    "id": "46b4446d-001d-465e-8131-c4b2fcd68e6e",
    "slug": "ombre-brain",
    "name": "Ombre-Brain",
    "description": "Self-hosted emotional memory for AI with Obsidian storage and search.",
    "url": "https://railway.com/deploy/ombre-brain",
    "upstream": {
      "image": "p0luz/ombre-brain:latest"
    }
  },
  "services": [
    {
      "name": "ombre-brain",
      "source": {
        "image": "p0luz/ombre-brain:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/buckets",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "ombre-brain",
      "description": "Internal Ombre Brain HTTP application listening port.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "OMBRE_PORT",
      "service": "ombre-brain",
      "description": "Internal HTTP server port used by the Docker deployment.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "OMBRE_BIND_HOST",
      "service": "ombre-brain",
      "description": "Bind the application to all Railway interfaces.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "OMBRE_TRANSPORT",
      "service": "ombre-brain",
      "description": "Enable the HTTP MCP transport.",
      "secret": false,
      "strategy": "default",
      "default": "streamable-http"
    },
    {
      "key": "OMBRE_VAULT_DIR",
      "service": "ombre-brain",
      "description": "Persistent memory and vault directory.",
      "secret": false,
      "strategy": "default",
      "default": "/app/buckets"
    },
    {
      "key": "OMBRE_CONFIG_PATH",
      "service": "ombre-brain",
      "description": "Persistent Ombre Brain configuration path.",
      "secret": false,
      "strategy": "default",
      "default": "/app/buckets/config.yaml"
    },
    {
      "key": "OMBRE_EMBED_API_KEY",
      "service": "ombre-brain",
      "description": "API key for semantic embedding generation.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OMBRE_COMPRESS_API_KEY",
      "service": "ombre-brain",
      "description": "API key for the memory compression/tagging LLM.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OMBRE_DASHBOARD_PASSWORD",
      "service": "ombre-brain",
      "description": "Dashboard login password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ombre-brain"
      }
    },
    "cli": "railway deploy --template ombre-brain",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "46b4446d-001d-465e-8131-c4b2fcd68e6e",
            "serializedConfig": {
              "services": {
                "5a030edf-eef1-450e-a92f-53d89b2bf94a": {
                  "name": "ombre-brain",
                  "source": {
                    "image": "p0luz/ombre-brain:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Internal Ombre Brain HTTP application listening port.",
                      "defaultValue": "8000"
                    },
                    "OMBRE_PORT": {
                      "description": "Internal HTTP server port used by the Docker deployment.",
                      "defaultValue": "8000"
                    },
                    "OMBRE_BIND_HOST": {
                      "description": "Bind the application to all Railway interfaces.",
                      "defaultValue": "0.0.0.0"
                    },
                    "OMBRE_TRANSPORT": {
                      "description": "Enable the HTTP MCP transport.",
                      "defaultValue": "streamable-http"
                    },
                    "OMBRE_VAULT_DIR": {
                      "description": "Persistent memory and vault directory.",
                      "defaultValue": "/app/buckets"
                    },
                    "OMBRE_CONFIG_PATH": {
                      "description": "Persistent Ombre Brain configuration path.",
                      "defaultValue": "/app/buckets/config.yaml"
                    },
                    "OMBRE_EMBED_API_KEY": {
                      "description": "API key for semantic embedding generation.",
                      "defaultValue": "{{OMBRE_EMBED_API_KEY}}"
                    },
                    "OMBRE_COMPRESS_API_KEY": {
                      "description": "API key for the memory compression/tagging LLM.",
                      "defaultValue": "{{OMBRE_COMPRESS_API_KEY}}"
                    },
                    "OMBRE_DASHBOARD_PASSWORD": {
                      "description": "Dashboard login password.",
                      "defaultValue": "{{OMBRE_DASHBOARD_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "5a030edf-eef1-450e-a92f-53d89b2bf94a": {
                      "mountPath": "/app/buckets"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T18:57:54.897Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f1394b71d715484eba72",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 58,
    "typical_build_seconds": 0,
    "typical_start_seconds": 5,
    "slowest_service": "ombre-brain"
  }
}
