-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (65 loc) · 1.63 KB
/
docker-compose.yml
File metadata and controls
72 lines (65 loc) · 1.63 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
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
69
70
71
72
services:
kafka:
networks:
- airgap
environment:
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092,CONTROLLER://0.0.0.0:29093
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
KAFKA_CONTROLLER_QUORUM_VOTERS: 1@kafka:29093
image: confluentinc/confluent-local
upstream:
networks:
- airgap
depends_on:
- downstream
image: rockylinux:9.3
volumes:
- ./target/dist:/dist:ro
- ./config:/config:ro
entrypoint:
- /bin/bash
- -c
- |
dnf install -y /dist/airgap-upstream-1.0.0-303.aarch64.rpm &&
/usr/local/bin/airgap-upstream /config/upstream-docker.properties
downstream:
networks:
- airgap
image: rockylinux:9.3
depends_on:
- kafka
volumes:
- ./target/dist:/dist:ro
- ./config:/config:ro
entrypoint:
- /bin/bash
- -c
- |
dnf install -y /dist/airgap-downstream-1.0.0-303.aarch64.rpm &&
/usr/local/bin/airgap-downstream /config/downstream-docker.properties
dedup:
networks:
- airgap
image: rockylinux:9.3
depends_on:
- kafka
volumes:
- ./target/dist:/dist:ro
- ./config:/config:ro
environment:
RAW_TOPICS: downstream
CLEAN_TOPIC: dedup
GAP_TOPIC: gaps
BOOTSTRAP_SERVERS: kafka:9092
entrypoint:
- /bin/bash
- -c
- |
dnf install -y /dist/airgap-dedup-1.0.0-303.noarch.rpm &&
java -jar /opt/airgap/dedup/air-gap-deduplication-fat.jar
networks:
airgap:
ipam:
config:
- subnet: 10.11.12.0/24