Platforms overview
EasyRunner
EasyRunner अपने Caddy proxy के पीछे एक छोटे कंटेनरीकृत ऐप के रूप में OpenClaw Gateway को होस्ट कर सकता है। यह मार्गदर्शिका मानती है कि EasyRunner होस्ट Podman-संगत Compose ऐप चलाता है और Caddy के माध्यम से HTTPS उपलब्ध कराता है।
शुरू करने से पहले
- एक EasyRunner सर्वर, जिसके लिए domain उस पर रूट किया गया हो।
- बनाया गया या प्रकाशित OpenClaw container image।
/home/node/.openclawके लिए persistent config volume।/workspaceके लिए persistent workspace volume।- एक मजबूत Gateway token या password।
संभव हो तो device auth सक्षम रखें। यदि आपका reverse proxy deployment device identity को सही ढंग से आगे नहीं ले जा सकता, तो पहले trusted-proxy settings ठीक करें; खतरनाक auth bypasses का उपयोग केवल पूरी तरह निजी, operator-controlled network के लिए करें।
Compose ऐप
इस तरह की संरचना वाली Compose file के साथ एक EasyRunner ऐप बनाएं:
services: openclaw: image: ghcr.io/openclaw/openclaw:latest restart: unless-stopped environment: OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN} OPENCLAW_HOME: /home/node OPENCLAW_STATE_DIR: /home/node/.openclaw OPENCLAW_CONFIG_PATH: /home/node/.openclaw/openclaw.json OPENCLAW_WORKSPACE_DIR: /workspace volumes: - openclaw-config:/home/node/.openclaw - openclaw-workspace:/workspace labels: caddy: openclaw.example.com caddy.reverse_proxy: "{{upstreams 1455}}" command: ["openclaw", "gateway", "--bind", "lan", "--port", "1455"] volumes: openclaw-config: openclaw-workspace:openclaw.example.com को अपने Gateway hostname से बदलें। OPENCLAW_GATEWAY_TOKEN को ऐप definition में commit करने के बजाय EasyRunner के secret/environment manager में store करें।
OpenClaw कॉन्फ़िगर करें
Persistent config volume के अंदर, Gateway को केवल proxy के माध्यम से पहुंच योग्य रखें और auth आवश्यक करें:
{ gateway: { bind: "lan", port: 1455, auth: { token: "${OPENCLAW_GATEWAY_TOKEN}", }, },}यदि Caddy Gateway के लिए TLS terminate करता है, तो auth checks को globally disable करने के बजाय ठीक proxy path के लिए trusted proxy settings कॉन्फ़िगर करें। देखें Trusted proxy auth।
सत्यापित करें
अपने workstation से:
openclaw gateway probe --url https://openclaw.example.com --token <token>openclaw gateway status --url https://openclaw.example.com --token <token>EasyRunner host से, listening Gateway के लिए ऐप logs जांचें और यह भी कि कोई startup SecretRef, Plugin, या channel auth failures नहीं हैं।
Updates और backups
- नया OpenClaw image pull या build करें, फिर EasyRunner ऐप redeploy करें।
- Updates से पहले
openclaw-configvolume का backup लें। - यदि agents वहां durable project data लिखते हैं, तो
openclaw-workspaceका backup लें। - बड़े updates के बाद config migrations और service warnings पकड़ने के लिए
openclaw doctorचलाएं।
समस्या निवारण
gateway probeconnect नहीं कर सकता: पुष्टि करें कि Caddy hostname ऐप की ओर point करता है और container0.0.0.0:1455पर listen कर रहा है।- Auth fail होता है: EasyRunner secrets और local client command में token को साथ-साथ rotate करें।
- Restore के बाद files root-owned हैं: mounted volumes को repair करें ताकि container user
/home/node/.openclawऔर/workspaceमें लिख सके। - Browser या channel plugins fail होते हैं: जांचें कि required external binaries, network egress, और mounted credentials container के अंदर उपलब्ध हैं या नहीं।