Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix postgresql health check
  • Loading branch information
actus-wirtenberger committed Mar 29, 2024
commit 382cd1dbf9b5378825ad9e694c0ce9244098d86a
2 changes: 1 addition & 1 deletion docker-compose-with-gpus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
POSTGRES_PASSWORD: ${SOLAR_DB_PASSWORD}
POSTGRES_DB: ${SOLAR_DB_DATABASE}
healthcheck:
test: [ "CMD", "pg_isready", "-U", "postgres" ]
test: [ "CMD", "pg_isready", "-U", "${SOLAR_DB_USERNAME}" ]
interval: 10s
timeout: 5s
retries: 5
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
POSTGRES_PASSWORD: ${SOLAR_DB_PASSWORD}
POSTGRES_DB: ${SOLAR_DB_DATABASE}
healthcheck:
test: [ "CMD", "pg_isready", "-U", "postgres" ]
test: [ "CMD", "pg_isready", "-U", "${SOLAR_DB_USERNAME}" ]
interval: 10s
timeout: 5s
retries: 5
Expand Down