-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
69 lines (63 loc) · 2.05 KB
/
docker-compose.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3'
services:
importer:
image: ghcr.io/iverly/f1-signalr-to-kafka-importer:latest
build:
context: .
dockerfile: Dockerfile.importer
restart: unless-stopped
volumes:
- ./f1-events.txt:/tmp/f1-events.txt
exporter:
image: ghcr.io/iverly/f1-signalr-to-kafka-exporter:latest
build:
context: .
dockerfile: Dockerfile.exporter
restart: unless-stopped
environment:
- EXPORTER_FILE_PATH=/tmp/f1-events.txt
- EXPORTER_KAFKA_BROKER=kafka:19092
volumes:
- ./f1-events.txt:/tmp/f1-events.txt
kafka:
image: "bitnami/kafka:3.4.0"
restart: unless-stopped
environment:
- KAFKA_ENABLE_KRAFT=yes
- KAFKA_CFG_PROCESS_ROLES=broker,controller
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME=DOCKER_INTERNAL
- KAFKA_CFG_LISTENERS=CONTROLLER://:9093,PLAINTEXT://:9092,DOCKER_INTERNAL://:19092
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,DOCKER_INTERNAL:PLAINTEXT
- KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR=1
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE=true
- [email protected]:9093
- ALLOW_PLAINTEXT_LISTENER=yes
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092,DOCKER_INTERNAL://kafka:19092
- KAFKA_CFG_NODE_ID=1
- KAFKA_KRAFT_CLUSTER_ID=wunIH31zRY2LvJKHyrKoVQ
- KAFKA_CFG_DELETE_TOPIC_ENABLE=true
ports:
- "9092:9092"
- "9093:9093"
volumes:
- "kafka_data:/bitnami"
conduktor-platform:
image: conduktor/conduktor-platform:latest
restart: unless-stopped
environment:
CDK_ORGANIZATION_NAME: "demo"
CDK_ADMIN_EMAIL: "[email protected]"
CDK_ADMIN_PASSWORD: "admin"
CDK_CLUSTERS_0_ID: "default"
CDK_CLUSTERS_0_NAME: "My Kafka Cluster"
CDK_CLUSTERS_0_COLOR: "#0013E7"
CDK_CLUSTERS_0_BOOTSTRAPSERVERS: "DOCKER_INTERNAL://kafka:19092"
ports:
- "8080:8080"
volumes:
- conduktor_data:/var/conduktor
depends_on:
- kafka
volumes:
conduktor_data:
kafka_data: