fix(docker): bind postgres to localhost only (#686)

5432:5432 → 127.0.0.1:5432:5432 — the default docker-compose.yml
exposed postgres on all interfaces, making it reachable from the
local network in any docker compose deployment.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Zaki Manian <zaki@iqlusion.io>
This commit is contained in:
Nick Stebbings
2026-03-09 09:55:57 +13:00
committed by GitHub
parent fe91ba2ab4
commit 605a4ba46e

View File

@@ -3,7 +3,7 @@ services:
postgres: postgres:
image: pgvector/pgvector:pg16 image: pgvector/pgvector:pg16
ports: ports:
- "5432:5432" - "127.0.0.1:5432:5432"
environment: environment:
POSTGRES_DB: ironclaw POSTGRES_DB: ironclaw
POSTGRES_USER: ironclaw POSTGRES_USER: ironclaw