{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f077c96b-ad16-4ecc-b098-e22a708b3d2f",
    "slug": "openclaw-prev-clawdbot-moltbot-self-host",
    "name": "OpenClaw (Prev Clawdbot, Moltbot) | Self Host OpenClaw on Railway",
    "description": "[Jun '26] 1-Click Deploy AI Agent Securely (TUI Support, Manage Devices)",
    "url": "https://railway.com/deploy/openclaw-prev-clawdbot-moltbot-self-host",
    "upstream": {
      "repo_url": "https://github.com/praveen-ks-2001/openclaw-railway-template-new"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "OpenClaw (Prev Moltbot, Clawdbot)",
      "source": {
        "repo": "https://github.com/praveen-ks-2001/openclaw-railway-template-new"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Port for wrapper server.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "ENABLE_WEB_TUI",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Gives an option Terminal UI",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SETUP_PASSWORD",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Password to access /setup wizard",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "User running it, 0 means root.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "OPENCLAW_VERSION",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Pin openclaw version. Use 'latest' to always take the most recent version.",
      "secret": false,
      "strategy": "default",
      "default": "2026.6.8"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Where config and credentials are stored.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "INTERNAL_GATEWAY_HOST",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Internal host for gateway",
      "secret": false,
      "strategy": "default",
      "default": "127.0.0.1"
    },
    {
      "key": "INTERNAL_GATEWAY_PORT",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Internal port for OpenClaw gateway.",
      "secret": false,
      "strategy": "default",
      "default": "18789"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Shared secret used to authenticate every request between the proxy and the OpenClaw gateway.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "OpenClaw (Prev Moltbot, Clawdbot)",
      "description": "Filesystem workspace where OpenClaw reads/writes user projects, tools, and generated artifacts.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-prev-clawdbot-moltbot-self-host"
      }
    },
    "cli": "railway deploy --template openclaw-prev-clawdbot-moltbot-self-host",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f077c96b-ad16-4ecc-b098-e22a708b3d2f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3b82bfc3-daa6-409f-8150-9540084a1497": {
                  "icon": "https://res.cloudinary.com/asset-cloudinary/image/upload/v1769907870/opencrawl_logo_jo3toh.png",
                  "name": "OpenClaw (Prev Moltbot, Clawdbot)",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/praveen-ks-2001/openclaw-railway-template-new",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for wrapper server.",
                      "defaultValue": "8080"
                    },
                    "ENABLE_WEB_TUI": {
                      "description": "Gives an option Terminal UI",
                      "defaultValue": "true"
                    },
                    "SETUP_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to access /setup wizard",
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "User running it, 0 means root.",
                      "defaultValue": "0"
                    },
                    "OPENCLAW_VERSION": {
                      "description": "Pin openclaw version. Use 'latest' to always take the most recent version.",
                      "defaultValue": "2026.6.8"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "isOptional": false,
                      "description": "Where config and credentials are stored.",
                      "defaultValue": "/data/.openclaw"
                    },
                    "INTERNAL_GATEWAY_HOST": {
                      "isOptional": false,
                      "description": "Internal host for gateway",
                      "defaultValue": "127.0.0.1"
                    },
                    "INTERNAL_GATEWAY_PORT": {
                      "isOptional": false,
                      "description": "Internal port for OpenClaw gateway.",
                      "defaultValue": "18789"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "Shared secret used to authenticate every request between the proxy and the OpenClaw gateway.",
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "isOptional": false,
                      "description": "Filesystem workspace where OpenClaw reads/writes user projects, tools, and generated artifacts.",
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "3b82bfc3-daa6-409f-8150-9540084a1497": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-06T17:54:17.775Z",
  "generator_version": "0.1.0"
}
