{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9573e885-9b6e-4724-8b4c-7cd895ed150f",
    "slug": "typesense-lightning-fast-open-source-sea",
    "name": "Typesense - Lightning Fast, Open Source Search (Supports Private Networking)",
    "description": "Cutting-edge, in-memory search engine for mere mortals.",
    "url": "https://railway.com/deploy/typesense-lightning-fast-open-source-sea",
    "upstream": {
      "repo_url": "https://github.com/dane-stevens/typesense-railway"
    }
  },
  "services": [
    {
      "name": "Typesense",
      "source": {
        "repo": "https://github.com/dane-stevens/typesense-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Typesense",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TYPESENSE_URL",
      "service": "Typesense",
      "description": "Provide a value for TYPESENSE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TYPESENSE_API_KEY",
      "service": "Typesense",
      "description": "Provide a value for TYPESENSE_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TYPESENSE_DATA_DIR",
      "service": "Typesense",
      "description": "Provide a value for TYPESENSE_DATA_DIR.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TYPESENSE_PUBLIC_URL",
      "service": "Typesense",
      "description": "Provide a value for TYPESENSE_PUBLIC_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "TYPESENSE_THREAD_POOL_SIZE",
      "service": "Typesense",
      "description": "Provide a value for TYPESENSE_THREAD_POOL_SIZE.",
      "secret": false,
      "strategy": "default",
      "default": "64"
    },
    {
      "key": "TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD",
      "service": "Typesense",
      "description": "Provide a value for TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD.",
      "secret": false,
      "strategy": "default",
      "default": "32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "typesense-lightning-fast-open-source-sea"
      }
    },
    "cli": "railway deploy --template typesense-lightning-fast-open-source-sea",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9573e885-9b6e-4724-8b4c-7cd895ed150f",
            "serializedConfig": {
              "services": {
                "226b1c20-a2a9-4d00-be3f-781c8e1a00fc": {
                  "icon": "https://typesense.org/favicon.png",
                  "name": "Typesense",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "dane-stevens/typesense-railway",
                    "branch": null,
                    "rootDirectory": "/"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "TYPESENSE_URL": {
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:${{PORT}}"
                    },
                    "TYPESENSE_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{TYPESENSE_API_KEY}}"
                    },
                    "TYPESENSE_DATA_DIR": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_VOLUME_MOUNT_PATH}}"
                    },
                    "TYPESENSE_PUBLIC_URL": {
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "TYPESENSE_THREAD_POOL_SIZE": {
                      "defaultValue": "64"
                    },
                    "TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD": {
                      "defaultValue": "32"
                    }
                  },
                  "volumeMounts": {
                    "226b1c20-a2a9-4d00-be3f-781c8e1a00fc": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T04:14:41.730Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T13:03:07.375Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_fa666d666b194f0c9018",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 98,
    "typical_build_seconds": 25,
    "typical_start_seconds": 20,
    "slowest_service": "Typesense"
  }
}
