{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0631771c-7581-4698-9fb4-e95f543afb9d",
    "slug": "typesense-search-engine",
    "name": "Typesense | Open Source Algolia Alternative Search Engine",
    "description": "Self Host Typesense. Typo-tolerant, vector search, faceted navigation",
    "url": "https://railway.com/deploy/typesense-search-engine",
    "upstream": {
      "image": "typesense/typesense:29.1"
    }
  },
  "services": [
    {
      "name": "Typesense",
      "source": {
        "image": "typesense/typesense:29.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TYPESENSE_API_KEY",
      "service": "Typesense",
      "description": "Admin API authentication key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TYPESENSE_DATA_DIR",
      "service": "Typesense",
      "description": "Persistent data directory path",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "TYPESENSE_ENABLE_CORS",
      "service": "Typesense",
      "description": "Enable cross-origin requests",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TYPESENSE_THREAD_POOL_SIZE",
      "service": "Typesense",
      "description": "Worker thread pool size",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD",
      "service": "Typesense",
      "description": "Parallel collection loading",
      "secret": false,
      "strategy": "default",
      "default": "4"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "typesense-search-engine"
      }
    },
    "cli": "railway deploy --template typesense-search-engine",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0631771c-7581-4698-9fb4-e95f543afb9d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7a006798-2631-488c-8b05-8d4bcdd6d007": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/typesense.svg",
                  "name": "Typesense",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "typesense/typesense:29.1"
                  },
                  "variables": {
                    "TYPESENSE_API_KEY": {
                      "isOptional": false,
                      "description": "Admin API authentication key",
                      "defaultValue": "{{TYPESENSE_API_KEY}}"
                    },
                    "TYPESENSE_DATA_DIR": {
                      "isOptional": false,
                      "description": "Persistent data directory path",
                      "defaultValue": "/data"
                    },
                    "TYPESENSE_ENABLE_CORS": {
                      "isOptional": false,
                      "description": "Enable cross-origin requests",
                      "defaultValue": "true"
                    },
                    "TYPESENSE_THREAD_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Worker thread pool size",
                      "defaultValue": "8"
                    },
                    "TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD": {
                      "isOptional": false,
                      "description": "Parallel collection loading",
                      "defaultValue": "4"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "7a006798-2631-488c-8b05-8d4bcdd6d007": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "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-20T14:15:07.153Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2704e39f62fd4a758eba",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 69,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Typesense"
  }
}
