--- /dev/null
+FROM openjdk:11
+ARG CMAK_VERSION=3.0.0.6
+LABEL AUTHOR="Kai Moritz"
+LABEL AUTHOR_EMAIL="kai@juplo.de"
+ENV ZK_HOSTS=localhost:2181
+RUN cd /tmp && \
+ wget https://github.com/yahoo/CMAK/releases/download/$CMAK_VERSION/cmak-$CMAK_VERSION.zip && \
+ unzip -d /opt/ cmak-$CMAK_VERSION.zip && \
+ rm -v cmak-$CMAK_VERSION.zip
+WORKDIR /opt/cmak-${CMAK_VERSION}
+EXPOSE 9000
+ENTRYPOINT [ "./bin/cmak" ]
+CMD [ "-Dconfig.file=conf/application.conf" ]
depends_on:
- zookeeper
- akhq:
- image: tchiotludo/akhq:0.23.0
+ cmak:
+ image: juplo/cmak:3.0.0.6
ports:
- - 8888:8080
+ - 8888:9000
environment:
- AKHQ_CONFIGURATION: |
- akhq:
- connections:
- docker-kafka-server:
- properties:
- bootstrap.servers: "kafka:9092"
- schema-registry:
- url: "http://schema-registry:8085"
- connect:
- - name: "connect"
- url: "http://connect:8083"
+ ZK_HOSTS: zookeeper:2181
depends_on:
- kafka-1
- kafka-2