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.
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ FRONTEND_PORT=80
|
|||||||
DOCREADER_PORT=50051
|
DOCREADER_PORT=50051
|
||||||
|
|
||||||
# 数据库主机地址
|
# 数据库主机地址
|
||||||
DB_HOST=localhost
|
DB_HOST=postgres
|
||||||
|
|
||||||
# 数据库端口
|
# 数据库端口
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
|
|||||||
Reference in New Issue
Block a user