We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcbc106 commit 1996384Copy full SHA for 1996384
1 file changed
docker-compose.yml
@@ -316,7 +316,8 @@ services:
316
- OTEL_SERVICE_NAME=featureflagservice
317
- DATABASE_URL=ecto://ffs:ffs@ffs_postgres:5432/ffs
318
depends_on:
319
- - ffs_postgres
+ ffs_postgres:
320
+ condition: service_healthy
321
logging: *logging
322
323
ffs_postgres:
@@ -327,6 +328,11 @@ services:
327
328
- POSTGRES_DB=ffs
329
- POSTGRES_PASSWORD=ffs
330
331
+ healthcheck:
332
+ test: ["CMD-SHELL", "pg_isready"]
333
+ interval: 10s
334
+ timeout: 5s
335
+ retries: 5
336
337
# LoadGenerator
338
loadgenerator:
0 commit comments