{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6bc24262-6b9f-494f-8d06-69fa943849a9",
    "slug": "openclaw-clawdbot-latest",
    "name": "OpenClaw (Clawdbot) - Latest",
    "description": "Quickly deploy your openclaw (clawdbot) on Railway: https://openclaw.ai",
    "url": "https://railway.com/deploy/openclaw-clawdbot-latest",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/clawdbot-railway-template"
    }
  },
  "services": [
    {
      "name": "OpenClaw (Clowdbot)",
      "source": {
        "repo": "https://github.com/baranberkay96/clawdbot-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SETUP_PASSWORD",
      "service": "OpenClaw (Clowdbot)",
      "description": "Provide a value for SETUP_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "OpenClaw (Clowdbot)",
      "description": "Provide a value for OPENCLAW_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.clawdbot"
    },
    {
      "key": "CLAWDBOT_GATEWAY_TOKEN",
      "service": "OpenClaw (Clowdbot)",
      "description": "Provide a value for CLAWDBOT_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "OpenClaw (Clowdbot)",
      "description": "Provide a value for OPENCLAW_WORKSPACE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-clawdbot-latest"
      }
    },
    "cli": "railway deploy --template openclaw-clawdbot-latest",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6bc24262-6b9f-494f-8d06-69fa943849a9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "773820a0-316f-4172-aa36-fde656e9003b": {
                  "icon": null,
                  "name": "OpenClaw (Clowdbot)",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/baranberkay96/clawdbot-railway-template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SETUP_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "defaultValue": "/data/.clawdbot"
                    },
                    "CLAWDBOT_GATEWAY_TOKEN": {
                      "defaultValue": "{{CLAWDBOT_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "773820a0-316f-4172-aa36-fde656e9003b": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T12:14:18.374Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1d63c0b8db5448f4be21",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 202,
    "typical_build_seconds": 143,
    "typical_start_seconds": 30,
    "slowest_service": "OpenClaw (Clowdbot)"
  }
}
