{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dd35cb7b-7ba9-49fc-a5e9-bbc1a78238e6",
    "slug": "openclaw-complete-setup",
    "name": "OpenClaw - Complete Setup 🦞",
    "description": "[Jul'26] 24/7 AI Agent — Complete Graphical Setup, TUI & Pairing Setup",
    "url": "https://railway.com/deploy/openclaw-complete-setup",
    "upstream": {
      "repo_url": "https://github.com/codetitlan/openclaw-railway-template"
    }
  },
  "services": [
    {
      "name": "openclaw",
      "source": {
        "repo": "https://github.com/codetitlan/openclaw-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "openclaw",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "OPENCLAW_ENTRY",
      "service": "openclaw",
      "description": "Provide a value for OPENCLAW_ENTRY.",
      "secret": false,
      "strategy": "default",
      "default": "node"
    },
    {
      "key": "SETUP_PASSWORD",
      "service": "openclaw",
      "description": "Provide a value for SETUP_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCLAW_VERSION",
      "service": "openclaw",
      "description": "Provide a value for OPENCLAW_VERSION.",
      "secret": false,
      "strategy": "default",
      "default": "v2026.2.15"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "openclaw",
      "description": "Provide a value for OPENCLAW_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "INTERNAL_GATEWAY_HOST",
      "service": "openclaw",
      "description": "Provide a value for INTERNAL_GATEWAY_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "127.0.0.1"
    },
    {
      "key": "INTERNAL_GATEWAY_PORT",
      "service": "openclaw",
      "description": "Provide a value for INTERNAL_GATEWAY_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "18789"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "openclaw",
      "description": "Provide a value for OPENCLAW_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "openclaw",
      "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-complete-setup"
      }
    },
    "cli": "railway deploy --template openclaw-complete-setup",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dd35cb7b-7ba9-49fc-a5e9-bbc1a78238e6",
            "serializedConfig": {
              "services": {
                "d7a6a5de-8f83-4980-b8cc-645e6ba48f69": {
                  "icon": "https://raw.githubusercontent.com/codestorm-official/openclaw/be1971087beecee44a8286b8caf30fcede7f2f1c/openclaw.svg",
                  "name": "openclaw",
                  "source": {
                    "repo": "codetitlan/openclaw-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "8080"
                    },
                    "OPENCLAW_ENTRY": {
                      "defaultValue": "node"
                    },
                    "SETUP_PASSWORD": {
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "OPENCLAW_VERSION": {
                      "defaultValue": "v2026.2.15"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "defaultValue": "/data/.openclaw"
                    },
                    "INTERNAL_GATEWAY_HOST": {
                      "defaultValue": "127.0.0.1"
                    },
                    "INTERNAL_GATEWAY_PORT": {
                      "defaultValue": "18789"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "d7a6a5de-8f83-4980-b8cc-645e6ba48f69": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-06T02:11:40.971Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b6c7a8eaccfd49a5a5ca",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 174,
    "typical_build_seconds": 98,
    "typical_start_seconds": 11,
    "slowest_service": "openclaw"
  }
}
