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 <noreply@anthropic.com>
This commit is contained in:
parent
aee8dbda75
commit
671ff1d774
1 changed files with 2 additions and 1 deletions
|
|
@ -38,13 +38,14 @@
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/openclaw/app:/app"
|
"/var/openclaw/app:/app"
|
||||||
"/var/openclaw/gateway:/gateway"
|
"/var/openclaw/gateway:/gateway"
|
||||||
"/root/.openclaw:/root/.openclaw:ro"
|
"/root/.openclaw:/root/.openclaw"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
PORT = "4310";
|
PORT = "4310";
|
||||||
UI_BIND_ADDRESS = "127.0.0.1";
|
UI_BIND_ADDRESS = "127.0.0.1";
|
||||||
OPENCLAW_HOME = "/root/.openclaw";
|
OPENCLAW_HOME = "/root/.openclaw";
|
||||||
OPENCLAW_BIN_PATH = "/gateway/node_modules/.bin/openclaw";
|
OPENCLAW_BIN_PATH = "/gateway/node_modules/.bin/openclaw";
|
||||||
|
OPENCLAW_GATEWAY_TOKEN = "openclaw-local-dev";
|
||||||
};
|
};
|
||||||
command = [
|
command = [
|
||||||
"sh" "-c"
|
"sh" "-c"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue