From 6977d189abacf8fe867e0d1cd0164f7ddd143ffa Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 11 Apr 2026 16:41:26 +0200 Subject: [PATCH] fix(geocoding): don't bind libpostal to host port 4400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Port 4400 collides with mana-infra-landings (status.mana.how nginx) on the production mac mini. libpostal is only reached internally by pelias-api over the pelias compose network anyway — no host binding needed. Use expose instead of ports to drop the host mapping. Co-Authored-By: Claude Opus 4.6 (1M context) --- services/mana-geocoding/pelias/docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/services/mana-geocoding/pelias/docker-compose.yml b/services/mana-geocoding/pelias/docker-compose.yml index dd009b6c8..f77258953 100644 --- a/services/mana-geocoding/pelias/docker-compose.yml +++ b/services/mana-geocoding/pelias/docker-compose.yml @@ -39,8 +39,12 @@ services: image: pelias/libpostal-service container_name: pelias-libpostal restart: unless-stopped - ports: - - "4400:4400" + # No host port mapping — libpostal is an internal dependency of + # pelias-api, reached over the pelias network at libpostal:4400. + # Port 4400 on the host is used by mana-infra-landings (nginx for + # status.mana.how) on the production mac mini. + expose: + - "4400" networks: - pelias