惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
Last Week in AI
Last Week in AI
T
Tailwind CSS Blog
V
Visual Studio Blog
Jina AI
Jina AI
博客园 - 司徒正美
The Cloudflare Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
小众软件
小众软件
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
WordPress大学
WordPress大学
爱范儿
爱范儿
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: refresh contributor docs · openclaw/openclaw@64d13c0
steipete · 2026-05-23 · via Recent Commits to openclaw:main

@@ -0,0 +1,109 @@

1+

---

2+

summary: "Run the OpenClaw Gateway on EasyRunner with Podman and Caddy"

3+

read_when:

4+

- Deploying OpenClaw on EasyRunner

5+

- Running the Gateway behind EasyRunner's Caddy proxy

6+

- Choosing persistent volumes and auth for a hosted Gateway

7+

title: "EasyRunner"

8+

---

9+10+

EasyRunner can host the OpenClaw Gateway as a small containerized app behind its

11+

Caddy proxy. This guide assumes an EasyRunner host that runs Podman-compatible

12+

Compose apps and exposes HTTPS through Caddy.

13+14+

## Before you begin

15+16+

- An EasyRunner server with a domain routed to it.

17+

- A built or published OpenClaw container image.

18+

- A persistent config volume for `/home/node/.openclaw`.

19+

- A persistent workspace volume for `/workspace`.

20+

- A strong Gateway token or password.

21+22+

Keep device auth enabled when possible. If your reverse proxy deployment cannot

23+

carry device identity correctly, fix trusted-proxy settings first; use

24+

dangerous auth bypasses only for a fully private, operator-controlled network.

25+26+

## Compose app

27+28+

Create an EasyRunner app with a Compose file shaped like this:

29+30+

```yaml

31+

services:

32+

openclaw:

33+

image: ghcr.io/openclaw/openclaw:latest

34+

restart: unless-stopped

35+

environment:

36+

OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN}

37+

OPENCLAW_HOME: /home/node

38+

OPENCLAW_STATE_DIR: /home/node/.openclaw

39+

OPENCLAW_CONFIG_PATH: /home/node/.openclaw/openclaw.json

40+

OPENCLAW_WORKSPACE_DIR: /workspace

41+

volumes:

42+

- openclaw-config:/home/node/.openclaw

43+

- openclaw-workspace:/workspace

44+

labels:

45+

caddy: openclaw.example.com

46+

caddy.reverse_proxy: "{{upstreams 1455}}"

47+

command: ["openclaw", "gateway", "--bind", "lan", "--port", "1455"]

48+49+

volumes:

50+

openclaw-config:

51+

openclaw-workspace:

52+

```

53+54+

Replace `openclaw.example.com` with your Gateway hostname. Store

55+

`OPENCLAW_GATEWAY_TOKEN` in EasyRunner's secret/environment manager instead of

56+

committing it to the app definition.

57+58+

## Configure OpenClaw

59+60+

Inside the persistent config volume, keep the Gateway reachable only through

61+

the proxy and require auth:

62+63+

```json5

64+

{

65+

gateway: {

66+

bind: "lan",

67+

port: 1455,

68+

auth: {

69+

token: "${OPENCLAW_GATEWAY_TOKEN}",

70+

},

71+

},

72+

}

73+

```

74+75+

If Caddy terminates TLS for the Gateway, configure trusted proxy settings for

76+

the exact proxy path rather than disabling auth checks globally. See

77+

[Trusted proxy auth](/gateway/trusted-proxy-auth).

78+79+

## Verify

80+81+

From your workstation:

82+83+

```bash

84+

openclaw gateway probe --url https://openclaw.example.com --token <token>

85+

openclaw gateway status --url https://openclaw.example.com --token <token>

86+

```

87+88+

From the EasyRunner host, check the app logs for a listening Gateway and no

89+

startup SecretRef, plugin, or channel auth failures.

90+91+

## Updates and backups

92+93+

- Pull or build the new OpenClaw image, then redeploy the EasyRunner app.

94+

- Back up the `openclaw-config` volume before updates.

95+

- Back up `openclaw-workspace` if agents write durable project data there.

96+

- Run `openclaw doctor` after major updates to catch config migrations and

97+

service warnings.

98+99+

## Troubleshooting

100+101+

- `gateway probe` cannot connect: confirm the Caddy hostname points at the app

102+

and that the container listens on `0.0.0.0:1455`.

103+

- Auth fails: rotate the token in EasyRunner secrets and the local client

104+

command together.

105+

- Files are root-owned after restore: repair the mounted volumes so the

106+

container user can write `/home/node/.openclaw` and `/workspace`.

107+

- Browser or channel plugins fail: check whether the required external

108+

binaries, network egress, and mounted credentials are available inside the

109+

container.