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.main
parent
2d9b21feb6
commit
a24567a951
|
|
@ -196,7 +196,7 @@ FRONTEND_PORT=80
|
|||
DOCREADER_PORT=50051
|
||||
|
||||
# 数据库主机地址
|
||||
DB_HOST=localhost
|
||||
DB_HOST=postgres
|
||||
|
||||
# 数据库端口
|
||||
DB_PORT=5432
|
||||
|
|
|
|||
Loading…
Reference in New Issue