From 609b12541eede2fae46c776f28fe503f6de4255c Mon Sep 17 00:00:00 2001 From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com> Date: Sat, 28 Mar 2026 18:58:31 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20add=20extra=5Fhosts=20host.docker.intern?= =?UTF-8?q?al=20to=20all=20services=20=E2=80=94=20fixes=20#238?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Linux Docker doesn't resolve host.docker.internal by default. Required when MQTT sources in config.json point to the host machine. Harmless on Docker Desktop where it already works. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e839b469..48d2addf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ services: image: corescope:latest container_name: corescope-prod restart: unless-stopped + extra_hosts: + - "host.docker.internal:host-gateway" ports: - "${PROD_HTTP_PORT:-80}:${PROD_HTTP_PORT:-80}" - "${PROD_HTTPS_PORT:-443}:${PROD_HTTPS_PORT:-443}" @@ -31,6 +33,8 @@ services: image: corescope:latest container_name: corescope-staging restart: unless-stopped + extra_hosts: + - "host.docker.internal:host-gateway" ports: - "${STAGING_HTTP_PORT:-81}:${STAGING_HTTP_PORT:-81}" - "${STAGING_MQTT_PORT:-1884}:1883" @@ -59,6 +63,8 @@ services: image: corescope-go:latest container_name: corescope-staging-go restart: unless-stopped + extra_hosts: + - "host.docker.internal:host-gateway" ports: - "${STAGING_GO_HTTP_PORT:-82}:80" - "${STAGING_GO_MQTT_PORT:-1885}:1883"