- 9081:9081
volumes:
- ./kafka-1.properties:/etc/kafka/kafka.properties:ro
+ - ./run.sh:/etc/confluent/docker/run:ro
- data-1:/var/lib/data/kafka
kafka-2:
- kafka
volumes:
- ./kafka-2.properties:/etc/kafka/kafka.properties:ro
+ - ./run.sh:/etc/confluent/docker/run:ro
- data-2:/var/lib/data/kafka
kafka-3:
- 9083:9083
volumes:
- ./kafka-3.properties:/etc/kafka/kafka.properties:ro
+ - ./run.sh:/etc/confluent/docker/run:ro
- data-3:/var/lib/data/kafka
setup:
--- /dev/null
+#!/usr/bin/env bash
+#
+
+. /etc/confluent/docker/bash-config
+
+echo "===> User"
+id
+
+export COMMAND=kafka
+echo "===> Launching ... "
+exec /etc/confluent/docker/launch