Fixes incorrect health check db name
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
ports:
|
||||
- "5432:5432"
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U idhan" ]
|
||||
test: [ "CMD-SHELL", "pg_isready -U idhan -d idhan-db" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
@@ -9,7 +9,7 @@ services:
|
||||
volumes:
|
||||
- idhan_pg18:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U idhan" ]
|
||||
test: [ "CMD-SHELL", "pg_isready -U idhan -d idhan-db" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user