Skip to content

Commit

Permalink
Add more health checks in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
epapbak committed Aug 9, 2024
1 parent d40cf4a commit 6637fd9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ services:
environment:
- KAFKA_ADVERTISED_HOST_NAME=kafka
- KAFKA_CREATE_TOPICS="platform.notifications.ingress:1:1"
healthcheck:
test: ["CMD", "bash", "-c", "echo > /dev/tcp/localhost/9092"]
interval: 5s
timeout: 2s
retries: 5
start_period: 5s

minio:
profiles:
Expand Down

0 comments on commit 6637fd9

Please sign in to comment.