chore: reduce gateway memory limit, update startup command, and remove redundant build context from cli service

This commit is contained in:
2026-04-02 14:20:32 +07:00
parent 8fe97c9fc4
commit 48f047b52c
+6 -13
View File
@@ -8,7 +8,7 @@ services:
resources:
limits:
cpus: '4'
memory: 12G
memory: 8G
reservations:
memory: 2G
environment:
@@ -30,15 +30,11 @@ services:
init: true
restart: unless-stopped
command:
[
"openclaw",
"gateway",
"--bind",
"${OPENCLAW_GATEWAY_BIND:-lan}",
"--port",
"18789",
"--allow-unconfigured"
]
- /bin/bash
- -c
- |
openclaw config set gateway.controlUi.dangerouslyAllowHostHeaderOriginFallback true
exec openclaw gateway --bind "${OPENCLAW_GATEWAY_BIND:-lan}" --port 18789 --allow-unconfigured
healthcheck:
test:
[
@@ -53,9 +49,6 @@ services:
start_period: 20s
openclaw-cli:
build:
context: .
dockerfile: ./Dockerfile
image: openclaw-clawteam:latest
pull_policy: build
network_mode: "service:openclaw-gateway"