diff --git a/docker-compose.yml b/docker-compose.yml index 654699b..d078eec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"