forked from wiktor/spejstore-new
docker-compose: change postgres healthcheck interval to 1s
This commit is contained in:
parent
d615da3a0f
commit
6cd7ec529b
|
@ -10,8 +10,8 @@ services:
|
||||||
healthcheck:
|
healthcheck:
|
||||||
#CHANGE 1: this command checks if the database is ready, right on the source db server
|
#CHANGE 1: this command checks if the database is ready, right on the source db server
|
||||||
test: [ "CMD-SHELL", "pg_isready" ]
|
test: [ "CMD-SHELL", "pg_isready" ]
|
||||||
interval: 5s
|
interval: 1s
|
||||||
timeout: 5s
|
timeout: 1s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
web:
|
web:
|
||||||
|
|
Loading…
Reference in New Issue