kafka-ui/docker-compose.md
Andor Markus c49006d2c1
feature/adding_docker-compose_example (#173)
* Fixing docker documentation in README.md. Adding docker-compose.md to the documentation

* Fixing docker documentation in README.md. Adding docker-compose.md to the documentation

* Typo fix

Co-authored-by: andormarkus <andormarkus@marc-o-polo.com>
2021-02-09 11:30:30 +03:00

25 lines
473 B
Markdown

# Quick Start with docker-compose
* Add a new service in docker-compose.yml
```yaml
version: '2'
services:
kafka-ui:
image: provectuslabs/kafka-ui
container_name: kafka-ui
ports:
- "9000:8080"
restart: always
environment:
-e KAFKA_CLUSTERS_0_NAME=local
-e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
-e KAFKA_CLUSTERS_0_ZOOKEEPER=localhost:2181
```
* Start Kafka UI process
```bash
docker-compose up -d kafka-ui
```