kafka-ui/docker-compose.md
Winnie Chiu a8ccbc96c8
Upgrade kafka in compose files (#2601) (#2777)
* Upgrade kafka in compose files (#2601)

* Fix compose files (#2601)

* Fix arm64 compose file (#2601)
2022-10-31 12:49:36 +04:00

987 B

Quick Start with docker-compose

Environment variables documentation - see usage.
We have plenty of example files with more complex configurations. Please check them out in docker directory.

  • Add a new service in docker-compose.yml
version: '2'
services:
  kafka-ui:
    image: provectuslabs/kafka-ui
    container_name: kafka-ui
    ports:
      - "8080:8080"
    restart: always
    environment:
      - KAFKA_CLUSTERS_0_NAME=local
      - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
  • If you prefer UI for Apache Kafka in read only mode
version: '2'
services:
  kafka-ui:
    image: provectuslabs/kafka-ui
    container_name: kafka-ui
    ports:
      - "8080:8080"
    restart: always
    environment:
      - KAFKA_CLUSTERS_0_NAME=local
      - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
      - KAFKA_CLUSTERS_0_READONLY=true
  • Start UI for Apache Kafka process
docker-compose up -d kafka-ui