Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
fix: Make kafka images restart if the crash
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed Feb 13, 2024
1 parent 61d75fc commit a2ba3b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tutorevent_bus_redis/patches/local-docker-compose-services
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# needed by Kafka to keep track of nodes, topics, and messages.
zookeeper:
image: confluentinc/cp-zookeeper:6.2.1
restart: unless-stopped
ports:
- "2181:2181"
environment:
Expand All @@ -13,6 +14,7 @@ kafka:
image: confluentinc/cp-server:6.2.1
depends_on:
- zookeeper
restart: unless-stopped
ports:
- "9092:9092"
- "9101:9101"
Expand Down Expand Up @@ -41,6 +43,7 @@ schema-registry:
image: confluentinc/cp-schema-registry:6.2.1
depends_on:
- kafka
restart: unless-stopped
ports:
- "18081:18081"
environment:
Expand All @@ -56,6 +59,7 @@ kafka-control-center:
depends_on:
- kafka
- schema-registry
restart: unless-stopped
ports:
- "9021:9021"
environment:
Expand Down

0 comments on commit a2ba3b2

Please sign in to comment.