1
0
Fork 0
forked from hswaw/spejstore

docker-compose: change postgres healthcheck interval to 1s

This commit is contained in:
radex 2023-08-18 15:27:56 +02:00
parent d615da3a0f
commit 6cd7ec529b

View file

@ -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: