kafka Dockerfile created
This commit is contained in:
parent
43fdced052
commit
594efc8ec4
2 changed files with 4 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ services:
|
|||
- logs_volume:/opt/clearing/bin/log_artifacts
|
||||
|
||||
kafka:
|
||||
image: mirror.gcr.io/bitnami/kafka:4.0.0
|
||||
build: kafka
|
||||
container_name: kafka
|
||||
environment:
|
||||
KAFKA_BROKER_ID: 1
|
||||
|
|
@ -51,8 +51,6 @@ services:
|
|||
KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
|
||||
ALLOW_PLAINTEXT_LISTENER: yes
|
||||
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: true
|
||||
volumes:
|
||||
- /builds/mfd/clearing/clr_test/kafka/log4j2.yaml:/opt/bitnami/kafka/config/log4j2.yaml
|
||||
healthcheck:
|
||||
test: kafka-topics.sh --list --bootstrap-server kafka:9092 || exit 1
|
||||
interval: 1s
|
||||
|
|
|
|||
3
clr_test/kafka/Dockerfile
Normal file
3
clr_test/kafka/Dockerfile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
FROM mirror.gcr.io/bitnami/kafka:4.0.0
|
||||
|
||||
ADD log4j2.yaml /opt/bitnami/kafka/config/ka
|
||||
Loading…
Add table
Reference in a new issue