{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a594cae3-0b3b-4392-b497-4e917a9306fb",
    "slug": "openclaw-all-in-one-bundle",
    "name": "OpenClaw (All-in-One Bundle)",
    "description": "OpenClaw + Web Wizard + Lite Panel + Web TUI + Browser + Searxng Search",
    "url": "https://railway.com/deploy/openclaw-all-in-one-bundle",
    "upstream": {
      "repo_url": "https://github.com/protemplate/openclaw-railway"
    }
  },
  "services": [
    {
      "name": "OpenClaw",
      "source": {
        "repo": "https://github.com/protemplate/openclaw-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "searxng-railway",
      "source": {
        "repo": "https://github.com/protemplate/searxng"
      },
      "needs_volume": true,
      "volume_mount_path": "/etc/searxng",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SEARXNG_URL",
      "service": "OpenClaw",
      "description": "Internal URL for SearXNG web search",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SETUP_PASSWORD",
      "service": "OpenClaw",
      "description": "Password for the setup wizard",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "OpenClaw",
      "description": "Provide a value for OPENCLAW_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "OpenClaw",
      "description": "Provide a value for OPENCLAW_WORKSPACE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    },
    {
      "key": "PORT",
      "service": "searxng-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SEARXNG_BASE_URL",
      "service": "searxng-railway",
      "description": "Base URL for SearXNG",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SEARXNG_SECRET_KEY",
      "service": "searxng-railway",
      "description": "Secret key for SearXNG",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEARXNG_UWSGI_THREADS",
      "service": "searxng-railway",
      "description": "Provide a value for SEARXNG_UWSGI_THREADS.",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "SEARXNG_UWSGI_WORKERS",
      "service": "searxng-railway",
      "description": "Provide a value for SEARXNG_UWSGI_WORKERS.",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "searxng-railway",
      "description": "Provide a value for ENABLE_ALPINE_PRIVATE_NETWORKING.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-all-in-one-bundle"
      }
    },
    "cli": "railway deploy --template openclaw-all-in-one-bundle",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a594cae3-0b3b-4392-b497-4e917a9306fb",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d913b3ae-bc13-4966-9077-8b784e50f0d3": {
                  "icon": "https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/openclaw-logo.png",
                  "name": "OpenClaw",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "https://github.com/protemplate/openclaw-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SEARXNG_URL": {
                      "isOptional": false,
                      "description": "Internal URL for SearXNG web search",
                      "defaultValue": "http://${{searxng-railway.RAILWAY_PRIVATE_DOMAIN}}:${{searxng-railway.PORT}}"
                    },
                    "SETUP_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the setup wizard",
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "isOptional": false,
                      "defaultValue": "/data/.openclaw"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "isOptional": false,
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "d913b3ae-bc13-4966-9077-8b784e50f0d3": {
                      "mountPath": "/data"
                    }
                  }
                },
                "e50f15af-922c-44d1-a8b0-f482da4436ba": {
                  "icon": "https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/searxng-wordmark.svg",
                  "name": "searxng-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "https://github.com/protemplate/searxng",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "SEARXNG_BASE_URL": {
                      "isOptional": false,
                      "description": "Base URL for SearXNG",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "SEARXNG_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Secret key for SearXNG",
                      "defaultValue": "{{SEARXNG_SECRET_KEY}}"
                    },
                    "SEARXNG_UWSGI_THREADS": {
                      "isOptional": false,
                      "defaultValue": "4"
                    },
                    "SEARXNG_UWSGI_WORKERS": {
                      "isOptional": false,
                      "defaultValue": "4"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "e50f15af-922c-44d1-a8b0-f482da4436ba": {
                      "mountPath": "/etc/searxng"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "OpenClaw",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-18T16:14:44.724Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T11:25:25.594Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_7fe07bbf1aba4c0188bb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 234,
    "typical_build_seconds": 150,
    "typical_start_seconds": 20,
    "slowest_service": "OpenClaw"
  }
}
