fix(geocoding): don't bind libpostal to host port 4400

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) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-11 16:41:26 +02:00
parent 21360d9c18
commit 6977d189ab

View file

@ -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