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
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ services:
healthcheck:
#CHANGE 1: this command checks if the database is ready, right on the source db server
test: [ "CMD-SHELL", "pg_isready" ]
interval: 5s
timeout: 5s
interval: 1s
timeout: 1s
retries: 5
web: