chore(control-center): bind the database port to loopback

The compose file published 5440 on all interfaces. Match the other
environment databases and listen only on 127.0.0.1.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-19 03:20:22 +00:00
co-authored by Cursor
parent 69524205b0
commit 0929f58aef
+1 -1
View File
@@ -10,7 +10,7 @@ services:
POSTGRES_PASSWORD: ${CC_DB_PASSWORD:-cc}
POSTGRES_DB: ${CC_DB_NAME:-control_center}
ports:
- "${CC_DB_PORT:-5440}:5432"
- "127.0.0.1:${CC_DB_PORT:-5440}:5432"
volumes:
- cc-db-data:/var/lib/postgresql/data
healthcheck: