mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:00:47 +00:00
fix(docker): disable bonjour by default for compose
This commit is contained in:
@@ -131,6 +131,7 @@ The setup script accepts these optional environment variables:
|
||||
| `OPENCLAW_HOME_VOLUME` | Persist `/home/node` in a named Docker volume |
|
||||
| `OPENCLAW_SANDBOX` | Opt in to sandbox bootstrap (`1`, `true`, `yes`, `on`) |
|
||||
| `OPENCLAW_DOCKER_SOCKET` | Override Docker socket path |
|
||||
| `OPENCLAW_DISABLE_BONJOUR` | Disable Bonjour/mDNS advertising (defaults to `1` for Docker) |
|
||||
|
||||
### Health checks
|
||||
|
||||
@@ -165,6 +166,17 @@ Use bind mode values in `gateway.bind` (`lan` / `loopback` / `custom` /
|
||||
`tailnet` / `auto`), not host aliases like `0.0.0.0` or `127.0.0.1`.
|
||||
</Note>
|
||||
|
||||
### Bonjour / mDNS
|
||||
|
||||
Docker bridge networking usually does not forward Bonjour/mDNS multicast
|
||||
(`224.0.0.251:5353`) reliably. The bundled Compose setup therefore defaults
|
||||
`OPENCLAW_DISABLE_BONJOUR=1` so the Gateway does not crash-loop or repeatedly
|
||||
restart advertising when the bridge drops multicast traffic.
|
||||
|
||||
Use the published Gateway URL, Tailscale, or wide-area DNS-SD for Docker hosts.
|
||||
Set `OPENCLAW_DISABLE_BONJOUR=0` only when running with host networking, macvlan,
|
||||
or another network where mDNS multicast is known to work.
|
||||
|
||||
### Storage and persistence
|
||||
|
||||
Docker Compose bind-mounts `OPENCLAW_CONFIG_DIR` to `/home/node/.openclaw` and
|
||||
|
||||
Reference in New Issue
Block a user