-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
91 lines (88 loc) · 2.27 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: "3.6"
services:
kafka-connect:
image: sourcesense/joyce-kafka-connect:1.3
ports:
- '6682:6682'
environment:
- CONNECT_BOOTSTRAP_SERVERS=kafka:9092
links:
- kafka
# volumes:
# - ./data/connect:/opt/data
import-gateway:
image: sourcesense/joyce-import-gateway:1.3
environment:
- JOYCE_KAFKA_BOOTSTRAPADDRESS=kafka:9092
- JOYCE_DATA_MONGODB_URI=mongodb://user:password@mongodb:27017/joyce
- JOYCE_DATA_MONGODB_DATABASE=joyce
- JOYCE_CONNECTOR_SERVICE_KAFKA_CONNECT_HOST=kafka-connect:6682
ports:
- "6651:6651"
links:
- kafka
mongodb-sink:
image: sourcesense/joyce-mongodb-sink:1.3
environment:
- JOYCE_DATA_MONGODB_URI=mongodb://user:password@mongodb:27017/joyce
- JOYCE_DATA_MONGODB_DATABASE=joyce
- JOYCE_PROJECTION_KAFKA_BOOTSTRAPADDRESS=kafka:9092
links:
- kafka
- mongodb
rest:
image: sourcesense/joyce-rest:1.3.2
ports:
- "6650:6650"
environment:
- MONGO_URI=mongodb://user:password@mongodb:27017/joyce
# - SCHEMAS_SOURCE=/opt/schemas.json
# volumes:
# - ./schemas.json:/opt/schemas.json
links:
- mongodb
- import-gateway
mongodb:
image: "bitnami/mongodb:4.4.5"
environment:
- MONGODB_ROOT_PASSWORD=toor
- MONGODB_USERNAME=user
- MONGODB_PASSWORD=password
- MONGODB_DATABASE=joyce
ports:
- "27017:27017"
# volumes:
# - "./data/mongodb:/bitnami/mongodb"
akhq:
image: tchiotludo/akhq:0.18.0
ports:
- "6680:8080"
links:
- kafka
environment:
AKHQ_CONFIGURATION: |
akhq:
connections:
kafka:
properties:
bootstrap.servers: "kafka:9092"
zookeeper:
image: "bitnami/zookeeper:3.7.0"
ports:
- "2181:2181"
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: "bitnami/kafka:1.1.1"
ports:
- "9092:9092"
# volumes:
# - ./data/kafka:/bitnami/kafka
environment:
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes
- KAFKA_MESSAGE_MAX_BYTES=2000000
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
- KAFKA_LISTENERS=PLAINTEXT://:9092
links:
- zookeeper