diff --git a/tutorevent_bus_redis/patches/local-docker-compose-services b/tutorevent_bus_redis/patches/local-docker-compose-services index e8ec9ed..e7d327d 100644 --- a/tutorevent_bus_redis/patches/local-docker-compose-services +++ b/tutorevent_bus_redis/patches/local-docker-compose-services @@ -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: @@ -13,6 +14,7 @@ kafka: image: confluentinc/cp-server:6.2.1 depends_on: - zookeeper + restart: unless-stopped ports: - "9092:9092" - "9101:9101" @@ -41,6 +43,7 @@ schema-registry: image: confluentinc/cp-schema-registry:6.2.1 depends_on: - kafka + restart: unless-stopped ports: - "18081:18081" environment: @@ -56,6 +59,7 @@ kafka-control-center: depends_on: - kafka - schema-registry + restart: unless-stopped ports: - "9021:9021" environment: