{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a11031c5-a2b4-472e-b90e-f2bc355cf28a",
    "slug": "openclaw-4",
    "name": "OpenClaw",
    "description": "[Jul'26] 1-click to run your powerful 24/7 Personal AI Assistant 🦞",
    "url": "https://railway.com/deploy/openclaw-4",
    "upstream": {
      "repo_url": "https://github.com/codestorm-official/openclaw"
    }
  },
  "services": [
    {
      "name": "openclaw",
      "source": {
        "repo": "https://github.com/codestorm-official/openclaw"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SETUP_PASSWORD",
      "service": "openclaw",
      "description": "Provide a value for SETUP_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CLAWDBOT_STATE_DIR",
      "service": "openclaw",
      "description": "Provide a value for CLAWDBOT_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.clawdbot"
    },
    {
      "key": "CLAWDBOT_GATEWAY_TOKEN",
      "service": "openclaw",
      "description": "Provide a value for CLAWDBOT_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLAWDBOT_WORKSPACE_DIR",
      "service": "openclaw",
      "description": "Provide a value for CLAWDBOT_WORKSPACE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-4"
      }
    },
    "cli": "railway deploy --template openclaw-4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a11031c5-a2b4-472e-b90e-f2bc355cf28a",
            "serializedConfig": {
              "services": {
                "044719c3-7c65-48f8-bc8d-e1ccf7084e6a": {
                  "icon": "https://mintcdn.com/clawdhub/dpADRo8IUoiDztzJ/assets/pixel-lobster.svg?fit=max&auto=format&n=dpADRo8IUoiDztzJ&q=85&s=8fdf719fb6d3eaad7c65231385bf28e5",
                  "name": "openclaw",
                  "source": {
                    "repo": "codestorm-official/openclaw",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "SETUP_PASSWORD": {
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "CLAWDBOT_STATE_DIR": {
                      "defaultValue": "/data/.clawdbot"
                    },
                    "CLAWDBOT_GATEWAY_TOKEN": {
                      "defaultValue": "{{CLAWDBOT_GATEWAY_TOKEN}}"
                    },
                    "CLAWDBOT_WORKSPACE_DIR": {
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "044719c3-7c65-48f8-bc8d-e1ccf7084e6a": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T18:11:33.269Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_96fac219b4f54079997c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 266,
    "typical_build_seconds": 163,
    "typical_start_seconds": 30,
    "slowest_service": "openclaw"
  }
}
