-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.kafka.yml
More file actions
37 lines (36 loc) · 1.02 KB
/
docker-compose.kafka.yml
File metadata and controls
37 lines (36 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
redpanda:
image: docker.redpanda.com/redpandadata/redpanda:v24.2.15
container_name: holliverse-redpanda
command:
- redpanda
- start
- --overprovisioned
- --smp=1
- --memory=1G
- --reserve-memory=0M
- --check=false
- --node-id=0
- --kafka-addr=PLAINTEXT://0.0.0.0:9092,OUTSIDE://0.0.0.0:19092
- --advertise-kafka-addr=PLAINTEXT://redpanda:9092,OUTSIDE://localhost:19092
- --set
- redpanda.auto_create_topics_enabled=true
ports:
- "19092:19092"
healthcheck:
test: ["CMD-SHELL", "rpk cluster info -X brokers=localhost:9092 >/dev/null 2>&1"]
interval: 5s
timeout: 5s
retries: 20
kafka-ui:
image: provectuslabs/kafka-ui:latest
container_name: holliverse-kafka-ui
depends_on:
redpanda:
condition: service_healthy
ports:
- "18080:8080"
environment:
KAFKA_CLUSTERS_0_NAME: local
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: redpanda:9092
DYNAMIC_CONFIG_ENABLED: "true"