Files
Peter Steinberger 5fda9d09f0 feat(deploy): add experimental Cloudflare deployment template (#122768)
* feat(deploy): add experimental Cloudflare template

* fix(deploy): keep container SSH debug access opt-in

* fix(deploy): satisfy scripts tsgo lane and model wrangler entrypoint in knip

* fix(deploy): model wrangler-consumed exports and isolated dependency in knip

The Worker default export and Durable Object class are instantiated by
wrangler from wrangler.jsonc, and @cloudflare/containers lives in the
template's isolated package.json — modeled per the deadcode checks' own
guidance rather than root-manifest changes.

* docs(deploy): align SSH bootstrap flow with the disabled-by-default policy
2026-08-12 14:07:48 -07:00

37 lines
1015 B
YAML

# Both roots need watch:true because OpenClaw creates the shared and per-agent
# databases after Litestream starts on a new ephemeral container.
sync-interval: 1s
logging:
level: INFO
type: text
stderr: false
dbs:
- dir: /home/node/.openclaw/state
pattern: "*.sqlite"
recursive: false
watch: true
replica:
type: s3
bucket: ${LITESTREAM_BUCKET}
path: replicas/state
endpoint: ${LITESTREAM_ENDPOINT}
region: ${LITESTREAM_REGION}
access-key-id: ${LITESTREAM_ACCESS_KEY_ID}
secret-access-key: ${LITESTREAM_SECRET_ACCESS_KEY}
force-path-style: true
- dir: /home/node/.openclaw/agents
pattern: "*.sqlite"
recursive: true
watch: true
replica:
type: s3
bucket: ${LITESTREAM_BUCKET}
path: replicas/agents
endpoint: ${LITESTREAM_ENDPOINT}
region: ${LITESTREAM_REGION}
access-key-id: ${LITESTREAM_ACCESS_KEY_ID}
secret-access-key: ${LITESTREAM_SECRET_ACCESS_KEY}
force-path-style: true