Skip to content

openclaw-layer

Recipe card from the charly-openclaw plugin (Images — the deployable catalog).

Property Value
Dependencies nodejs, socat, supervisord
Ports 18789
Port relay 18789 (eth0 -> loopback)
Volumes data -> ~/.openclaw
Aliases openclaw -> openclaw
Service openclaw (supervisord)
Install files package.json
Variable Value
NODE_ENV production
charly.yml
openclaw:
candy:
- openclaw
Terminal window
charly alias install openclaw # install host 'openclaw' command
openclaw config # uses the alias

The gateway binds to 127.0.0.1:18789 (loopback only). A socat relay forwards from the container’s network interface to loopback. This avoids OpenClaw’s allowedOrigins requirement for the Control UI — all connections appear as loopback to the gateway.

Same pattern as the chrome candy (CDP on port 9222).

Use when the user asks about:

  • OpenClaw gateway setup or configuration
  • AI model routing or gateway
  • Port 18789 service
  • The openclaw host alias
  • OpenClaw data volume
  • /charly-image:layer — candy authoring reference (charly.yml schema, task verbs, service declarations)
  • /charly-check:check — declarative testing (check: block, charly check box, charly check live)