-
Notifications
You must be signed in to change notification settings - Fork 0
/
deps.yml
38 lines (37 loc) · 1.19 KB
/
deps.yml
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
services:
softioc:
image: jeffersonlab/softioc:1.1.0
tty: true
stdin_open: true
hostname: softioc
container_name: softioc
ports:
- "5065:5065/tcp"
- "5064:5064/tcp"
- "5065:5065/udp"
- "5064:5064/udp"
volumes:
- ./examples/softioc-db:/db
- ./examples/softioc-scripts:/scripts
kafka:
image: bitnami/kafka:3.5.0
hostname: kafka
container_name: kafka
ports:
- "9094:9094"
environment:
- ALLOW_PLAINTEXT_LISTENER=yes
- KAFKA_KRAFT_CLUSTER_ID=Cl1akjnHRoG9df2FiSicNg
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092,EXTERNAL://localhost:9094
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
- KAFKA_CFG_LOG_CLEANER_MIN_CLEANABLE_RATIO=0.1
- KAFKA_CFG_LOG_CLEANER_MAX_COMPACTION_LAG_MS=600000
- KAFKA_CFG_LOG_CLEANER_MIN_COMPACTION_LAG_MS=300000
- KAFKA_CFG_LOG_ROLL_MS=300000
healthcheck:
test: kafka-topics.sh --bootstrap-server kafka:9092 --list
start_period: 10s
interval: 5s
timeout: 10s
retries: 5