mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-27 00:17:29 +00:00
docs: refresh persistence guidance
This commit is contained in:
@@ -326,7 +326,8 @@ fly ssh console --command "rm /data/openclaw.json"
|
||||
|
||||
### State Not Persisting
|
||||
|
||||
If you lose credentials or sessions after a restart, the state dir is writing to the container filesystem.
|
||||
If you lose auth profiles, channel/provider state, or sessions after a restart,
|
||||
the state dir is writing to the container filesystem.
|
||||
|
||||
**Fix:** Ensure `OPENCLAW_STATE_DIR=/data` is set in `fly.toml` and redeploy.
|
||||
|
||||
|
||||
@@ -158,7 +158,9 @@ The launch script and Quadlet bind-mount host state into the container:
|
||||
- `OPENCLAW_CONFIG_DIR` -> `/home/node/.openclaw`
|
||||
- `OPENCLAW_WORKSPACE_DIR` -> `/home/node/.openclaw/workspace`
|
||||
|
||||
By default those are host directories, not anonymous container state, so config and workspace survive container replacement.
|
||||
By default those are host directories, not anonymous container state, so
|
||||
`openclaw.json`, per-agent `auth-profiles.json`, channel/provider state,
|
||||
sessions, and workspace survive container replacement.
|
||||
The Podman setup also seeds `gateway.controlUi.allowedOrigins` for `127.0.0.1` and `localhost` on the published gateway port so the local dashboard works with the container's non-loopback bind.
|
||||
|
||||
Useful env vars for the manual launcher:
|
||||
|
||||
@@ -68,8 +68,9 @@ Key Blueprint features used:
|
||||
| Starter | Never | 1GB+ | Personal use, small teams |
|
||||
| Standard+ | Never | 1GB+ | Production, multiple channels |
|
||||
|
||||
The Blueprint defaults to `starter`. To use free tier, change `plan: free` in your fork's
|
||||
`render.yaml` (but note: no persistent disk means config resets on each deploy).
|
||||
The Blueprint defaults to `starter`. To use free tier, change `plan: free` in
|
||||
your fork's `render.yaml` (but note: no persistent disk means OpenClaw state
|
||||
resets on each deploy).
|
||||
|
||||
## After deployment
|
||||
|
||||
|
||||
Reference in New Issue
Block a user