service updates

This commit is contained in:
Andras Bacsai
2023-10-26 10:02:51 +02:00
parent 96a4d0bbb0
commit 76431c3fd5
7 changed files with 43 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ services:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 5s
timeout: 5s
timeout: 20s
retries: 10
depends_on:
- postgresql
@@ -35,6 +35,6 @@ services:
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 5s
timeout: 20s
retries: 10