From 671ff1d7747b1bc295849deb37f92219034829e2 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Sun, 14 Jun 2026 04:00:03 -0700 Subject: [PATCH] openclaw: fix app container mount so CLI probes can connect to gateway Remove :ro from the .openclaw volume so the CLI can write state files on startup (it was crashing immediately with EROFS). Add OPENCLAW_GATEWAY_TOKEN so the CLI bypasses the device identity handshake when auth=none, allowing the gateway reachability probe to succeed before the device is auto-approved. Co-Authored-By: Claude Sonnet 4.6 --- nixos/arion-openclaw/arion-compose.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/arion-openclaw/arion-compose.nix b/nixos/arion-openclaw/arion-compose.nix index bc0a065..f5cb0c9 100644 --- a/nixos/arion-openclaw/arion-compose.nix +++ b/nixos/arion-openclaw/arion-compose.nix @@ -38,13 +38,14 @@ volumes = [ "/var/openclaw/app:/app" "/var/openclaw/gateway:/gateway" - "/root/.openclaw:/root/.openclaw:ro" + "/root/.openclaw:/root/.openclaw" ]; environment = { PORT = "4310"; UI_BIND_ADDRESS = "127.0.0.1"; OPENCLAW_HOME = "/root/.openclaw"; OPENCLAW_BIN_PATH = "/gateway/node_modules/.bin/openclaw"; + OPENCLAW_GATEWAY_TOKEN = "openclaw-local-dev"; }; command = [ "sh" "-c"