{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b6b62462-34cd-435a-90c6-fc8c878f9988",
    "slug": "qdrant-vectordb",
    "name": "Qdrant (VectorDB)",
    "description": "Qdrant vector database with persistent storage for AI/RAG",
    "url": "https://railway.com/deploy/qdrant-vectordb",
    "upstream": {
      "image": "qdrant/qdrant:latest"
    }
  },
  "services": [
    {
      "name": "Qdrant",
      "source": {
        "image": "qdrant/qdrant:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/qdrant/storage",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Qdrant",
      "description": "Port Railway's healthcheck and edge proxy probe. Must equal QDRANT__SERVICE__HTTP_PORT, or the healthcheck fails with 'service unavailable'.",
      "secret": false,
      "strategy": "default",
      "default": "6333"
    },
    {
      "key": "QDRANT__SERVICE__HOST",
      "service": "Qdrant",
      "description": "Bind address. '::' binds IPv6 (dual-stack) so Railway's healthcheck and private networking can reach Qdrant; the default 0.0.0.0 is IPv4-only and fails the healthcheck.",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "QDRANT__SERVICE__API_KEY",
      "service": "Qdrant",
      "description": "API key for authenticated access; leave blank to disable auth",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "QDRANT__SERVICE__HTTP_PORT",
      "service": "Qdrant",
      "description": "HTTP REST + dashboard port; must match the public domain target port",
      "secret": false,
      "strategy": "default",
      "default": "6333"
    },
    {
      "key": "QDRANT__STORAGE__STORAGE_PATH",
      "service": "Qdrant",
      "description": "Persistent storage directory for collections and indexes",
      "secret": false,
      "strategy": "default",
      "default": "/qdrant/storage"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "qdrant-vectordb"
      }
    },
    "cli": "railway deploy --template qdrant-vectordb",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b6b62462-34cd-435a-90c6-fc8c878f9988",
            "serializedConfig": {
              "services": {
                "c89d07d0-0e17-4613-812f-7d3819ffa1b1": {
                  "icon": "https://raw.githubusercontent.com/qdrant/qdrant/master/docs/logo.svg",
                  "name": "Qdrant",
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "requiredMountPath": "/qdrant/storage",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 60,
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "qdrant/qdrant:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port Railway's healthcheck and edge proxy probe. Must equal QDRANT__SERVICE__HTTP_PORT, or the healthcheck fails with 'service unavailable'.",
                      "defaultValue": "6333"
                    },
                    "QDRANT__SERVICE__HOST": {
                      "description": "Bind address. '::' binds IPv6 (dual-stack) so Railway's healthcheck and private networking can reach Qdrant; the default 0.0.0.0 is IPv4-only and fails the healthcheck.",
                      "defaultValue": "::"
                    },
                    "QDRANT__SERVICE__API_KEY": {
                      "isOptional": true,
                      "description": "API key for authenticated access; leave blank to disable auth",
                      "defaultValue": "{{QDRANT__SERVICE__API_KEY}}"
                    },
                    "QDRANT__SERVICE__HTTP_PORT": {
                      "description": "HTTP REST + dashboard port; must match the public domain target port",
                      "defaultValue": "6333"
                    },
                    "QDRANT__STORAGE__STORAGE_PATH": {
                      "isOptional": true,
                      "description": "Persistent storage directory for collections and indexes",
                      "defaultValue": "/qdrant/storage"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "qdrant-dom": {
                        "port": 6333
                      }
                    }
                  },
                  "volumeMounts": {
                    "c89d07d0-0e17-4613-812f-7d3819ffa1b1": {
                      "mountPath": "/qdrant/storage"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Qdrant",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T08:39:28.787Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6d931a2ee60b4d639c06",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 68,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Qdrant"
  }
}
