This commit is contained in:
parent
032c1f7a74
commit
3c7189c657
@ -9,7 +9,7 @@ services:
|
||||
volumes: ['/var/run/postgresql:/var/run/postgresql']
|
||||
command: '-p 5432'
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready" ]
|
||||
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
|
||||
interval: 1s
|
||||
timeout: 1s
|
||||
retries: 30
|
||||
@ -22,7 +22,7 @@ services:
|
||||
volumes: ['/var/run/postgresql:/var/run/postgresql']
|
||||
command: '-p 5433'
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -p 5433" ]
|
||||
test: [ "CMD-SHELL", "pg_isready -U postgres -p 5433" ]
|
||||
interval: 1s
|
||||
timeout: 1s
|
||||
retries: 30
|
||||
|
Loading…
Reference in New Issue
Block a user