fix(compose): target configured database in dev healthcheck

main
yushangcan 2026-09-15 23:50:38 +08:00 committed by lyingbug
parent 1b36030502
commit d3ed78313f
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ services:
networks:
- WeKnora-network-dev
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"]
test: ["CMD-SHELL", "pg_isready -U ${DB_USER} -d ${DB_NAME}"]
interval: 10s
timeout: 10s
retries: 3