{
  "manifest_version": "1.0.0",
  "template": {
    "id": "97b39ed3-6bd5-4b5a-9976-abedd357d405",
    "slug": "clawdbot-railway-template",
    "name": "OpenClaw (Clawdbot) - Railway Template",
    "description": "Quickly deploy your openclaw (clawdbot) on Railway: https://openclaw.ai",
    "url": "https://railway.com/deploy/clawdbot-railway-template",
    "upstream": {
      "repo_url": "https://github.com/vignesh07/clawdbot-railway-template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "clawdbot-railway-template",
      "source": {
        "repo": "https://github.com/vignesh07/clawdbot-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SETUP_PASSWORD",
      "service": "clawdbot-railway-template",
      "description": "Setup password that will protect your clawdbot UI from the rest of the world",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CLAWDBOT_STATE_DIR",
      "service": "clawdbot-railway-template",
      "description": "where your clawdbot data lives - configs, auth, sessions.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.clawdbot"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "clawdbot-railway-template",
      "description": "Provide a value for OPENCLAW_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "CLAWDBOT_GATEWAY_TOKEN",
      "service": "clawdbot-railway-template",
      "description": "token that protects your gateway",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLAWDBOT_WORKSPACE_DIR",
      "service": "clawdbot-railway-template",
      "description": "Where all the files you create via clawdbot will reside.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "clawdbot-railway-template",
      "description": "Provide a value for OPENCLAW_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "clawdbot-railway-template",
      "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": "clawdbot-railway-template"
      }
    },
    "cli": "railway deploy --template clawdbot-railway-template",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "97b39ed3-6bd5-4b5a-9976-abedd357d405",
            "serializedConfig": {
              "services": {
                "fae7602d-ef19-43ae-b5e8-d4b95eb0bd20": {
                  "name": "clawdbot-railway-template",
                  "source": {
                    "repo": "vignesh07/clawdbot-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "SETUP_PASSWORD": {
                      "isOptional": false,
                      "description": "Setup password that will protect your clawdbot UI from the rest of the world",
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "CLAWDBOT_STATE_DIR": {
                      "isOptional": false,
                      "description": "where your clawdbot data lives - configs, auth, sessions.",
                      "defaultValue": "/data/.clawdbot"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/.openclaw"
                    },
                    "CLAWDBOT_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "token that protects your gateway",
                      "defaultValue": "{{CLAWDBOT_GATEWAY_TOKEN}}"
                    },
                    "CLAWDBOT_WORKSPACE_DIR": {
                      "isOptional": false,
                      "description": "Where all the files you create via clawdbot will reside.",
                      "defaultValue": "/data/workspace"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "fae7602d-ef19-43ae-b5e8-d4b95eb0bd20": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T17:54:19.363Z",
  "generator_version": "0.1.0"
}
