Skip to content

Commit

Permalink
Core use admin to check
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandoks committed Dec 21, 2024
1 parent b9abda2 commit 778a7c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
networks:
- homelab-network
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-U", "user", "-d", "main"]
test: ["CMD-SHELL", "pg_isready", "-U", "admin", "-d", "main"]
interval: 1s
retries: 10

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/database/images/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ services:
networks:
- database-network
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-U", "admin", "-d", "userdb"]
test: ["CMD-SHELL", "pg_isready", "-U", "admin", "-d", "main"]
interval: 1s
retries: 10
depends_on:
Expand Down

0 comments on commit 778a7c4

Please sign in to comment.