{
  "manifest_version": "1.0.0",
  "template": {
    "id": "493fe0a0-1792-4b46-a4dc-5e285ac573fd",
    "slug": "typesense-latest",
    "name": "Typesense [Updated Sep ’26] (Lightning-Fast Open Source Search Engine and Indexing)",
    "description": "Typesense [Sep ’26] (Algolia/Elasticsearch Alternative), Self Host",
    "url": "https://railway.com/deploy/typesense-latest",
    "upstream": {
      "repo_url": "https://github.com/Shinyduo/typesense-railway"
    }
  },
  "services": [
    {
      "name": "typesense-railway",
      "source": {
        "repo": "https://github.com/Shinyduo/typesense-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "typesense-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TYPESENSE_URL",
      "service": "typesense-railway",
      "description": "Provide a value for TYPESENSE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TYPESENSE_API_KEY",
      "service": "typesense-railway",
      "description": "Provide a value for TYPESENSE_API_KEY.",
      "secret": true,
      "strategy": "default",
      "default": "82n8y7slc32p64tnaij71h23ao52n9mp"
    },
    {
      "key": "TYPESENSE_DATA_DIR",
      "service": "typesense-railway",
      "description": "Provide a value for TYPESENSE_DATA_DIR.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TYPESENSE_PUBLIC_URL",
      "service": "typesense-railway",
      "description": "Provide a value for TYPESENSE_PUBLIC_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "TYPESENSE_THREAD_POOL_SIZE",
      "service": "typesense-railway",
      "description": "Provide a value for TYPESENSE_THREAD_POOL_SIZE.",
      "secret": false,
      "strategy": "default",
      "default": "64"
    },
    {
      "key": "TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD",
      "service": "typesense-railway",
      "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-latest"
      }
    },
    "cli": "railway deploy --template typesense-latest",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "493fe0a0-1792-4b46-a4dc-5e285ac573fd",
            "serializedConfig": {
              "services": {
                "137a660e-560c-404d-ba56-7808f2bed962": {
                  "icon": null,
                  "name": "typesense-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/Shinyduo/typesense-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "TYPESENSE_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:${{PORT}}"
                    },
                    "TYPESENSE_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "82n8y7slc32p64tnaij71h23ao52n9mp"
                    },
                    "TYPESENSE_DATA_DIR": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_VOLUME_MOUNT_PATH}}"
                    },
                    "TYPESENSE_PUBLIC_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "TYPESENSE_THREAD_POOL_SIZE": {
                      "isOptional": false,
                      "defaultValue": "64"
                    },
                    "TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD": {
                      "isOptional": false,
                      "defaultValue": "32"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "137a660e-560c-404d-ba56-7808f2bed962": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "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-18T21:20:36.499Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_bcd1721c178d48c8838c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 115,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "typesense-railway"
  }
}
