{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0acb5149-f6ff-4366-b81a-fd31acca952c",
    "slug": "chroma-vector-db",
    "name": "Chroma | Open Source Pinecone Alternative on Railway",
    "description": "Self Host Chroma: AI vector database for RAG, semantic search, AI apps.",
    "url": "https://railway.com/deploy/chroma-vector-db",
    "upstream": {
      "image": "chromadb/chroma:latest"
    }
  },
  "services": [
    {
      "name": "Chroma",
      "source": {
        "image": "chromadb/chroma:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Chroma",
      "description": "HTTP server listening port",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "CHROMA_HOST",
      "service": "Chroma",
      "description": "Bind server to all interfaces",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "CHROMA_SERVER_AUTHN_PROVIDER",
      "service": "Chroma",
      "description": "Authentication provider implementation class",
      "secret": false,
      "strategy": "default",
      "default": "chromadb.auth.token_authn.TokenAuthenticationServerProvider"
    },
    {
      "key": "CHROMA_SERVER_AUTHN_CREDENTIALS",
      "service": "Chroma",
      "description": "Token credentials for authentication",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CHROMA_SERVER_CORS_ALLOW_ORIGINS",
      "service": "Chroma",
      "description": "Allowed origins for CORS requests",
      "secret": false,
      "strategy": "default",
      "default": "[\"*\"]"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "chroma-vector-db"
      }
    },
    "cli": "railway deploy --template chroma-vector-db",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0acb5149-f6ff-4366-b81a-fd31acca952c",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "bdc8caec-5407-4858-86f9-2a1fcf213bfe": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/chroma.svg",
                  "name": "Chroma",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v2/heartbeat",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "chromadb/chroma:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP server listening port",
                      "defaultValue": "8000"
                    },
                    "CHROMA_HOST": {
                      "isOptional": false,
                      "description": "Bind server to all interfaces",
                      "defaultValue": "0.0.0.0"
                    },
                    "CHROMA_SERVER_AUTHN_PROVIDER": {
                      "isOptional": false,
                      "description": "Authentication provider implementation class",
                      "defaultValue": "chromadb.auth.token_authn.TokenAuthenticationServerProvider"
                    },
                    "CHROMA_SERVER_AUTHN_CREDENTIALS": {
                      "isOptional": false,
                      "description": "Token credentials for authentication",
                      "defaultValue": "{{CHROMA_SERVER_AUTHN_CREDENTIALS}}"
                    },
                    "CHROMA_SERVER_CORS_ALLOW_ORIGINS": {
                      "isOptional": false,
                      "description": "Allowed origins for CORS requests",
                      "defaultValue": "[\"*\"]"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "bdc8caec-5407-4858-86f9-2a1fcf213bfe": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Chroma",
      "method": "GET",
      "path": "/api/v2/heartbeat",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T16:50:37.043Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0e7dd87d983c4ba5a671",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 35,
    "typical_build_seconds": 0,
    "typical_start_seconds": 5,
    "slowest_service": "Chroma"
  }
}
