From a24567a9516ccf800f0ba9199bc48a9baaba3494 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 30 Jun 2026 21:05:32 +0800 Subject: [PATCH] fix(docker): default DB_HOST to postgres in .env.example Docker Compose runs the app against the postgres service hostname; localhost breaks first-time setup when copying .env.example as-is. --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index a17e78f4..3e7be802 100644 --- a/.env.example +++ b/.env.example @@ -196,7 +196,7 @@ FRONTEND_PORT=80 DOCREADER_PORT=50051 # 数据库主机地址 -DB_HOST=localhost +DB_HOST=postgres # 数据库端口 DB_PORT=5432