{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e18b6752-2a40-4a13-ad49-61541cabb69f",
    "slug": "searxng-api",
    "name": "SearXNG API",
    "description": "A pre-configured SearXNG optimized for private and LLM tool use.",
    "url": "https://railway.com/deploy/searxng-api",
    "upstream": {
      "image": "ghcr.io/joeychilson/railway-searxng:1.1"
    }
  },
  "services": [
    {
      "name": "searxng",
      "source": {
        "image": "ghcr.io/joeychilson/railway-searxng:1.1"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "SEARXNG_SECRET",
      "service": "searxng",
      "description": "Provide a value for SEARXNG_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "searxng-api"
      }
    },
    "cli": "railway deploy --template searxng-api",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e18b6752-2a40-4a13-ad49-61541cabb69f",
            "serializedConfig": {
              "services": {
                "74c2f9c9-4e77-482a-8d81-64d3624c016c": {
                  "name": "searxng",
                  "deploy": {
                    "healthcheckPath": "/healthz"
                  },
                  "source": {
                    "image": "ghcr.io/joeychilson/railway-searxng:1.1",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 1,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 2,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 3,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 4,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 5,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 6,
                          "endHour": 6,
                          "startHour": 2
                        }
                      ]
                    }
                  },
                  "variables": {
                    "SEARXNG_SECRET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{SEARXNG_SECRET}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T04:14:46.774Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T21:59:19.236Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_58365667819243feb3e2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 75,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "searxng"
  }
}
