From 9b333f4bc087cc3dac54a08964e0d12bf15dd1c0 Mon Sep 17 00:00:00 2001 From: Dilushan Date: Fri, 28 Aug 2026 14:12:08 +0530 Subject: [PATCH] chore(compose): map host.internal to the host gateway for local dev --- docker-compose.yml | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2e583374..a3dc2333 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,6 +40,14 @@ services: - GOOGLE_CHROME_CDP_URL=${GOOGLE_CHROME_CDP_URL-http://chrome-cdp:9223} ports: - "3000:3000" + # Local dev only: one stable name for "the machine running Docker", so the + # container can reach services on the host — object storage, Mongo, Redis, the + # backend itself. Needed because some addresses must be identical on both + # sides: an S3 presigned URL signs the Host header, so the backend cannot sign + # 127.0.0.1 and hand the container host.docker.internal. Map it to 127.0.0.1 in + # the host machine's hosts file. Harmless when unused. + extra_hosts: + - "host.internal:host-gateway" volumes: - .:/usr/src/app - ./.chrome:/usr/src/app/.chrome diff --git a/package.json b/package.json index f62ba0bd..abc37d50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meeting-bot", - "version": "1.2.34", + "version": "1.2.35", "description": "Run meeting bots for Google Meet, Microsoft Teams and Zoom", "main": "index.js", "license": "MIT",