mirror of
https://github.com/nearai/ironclaw.git
synced 2026-09-02 23:56:24 +08:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user