forked from debezium/debezium-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
92 lines (92 loc) · 2.37 KB
/
docker-compose.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
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
92
## Development infrastructure for running and testing the Debezium UI
version: '3'
services:
dbzui-zookeeper:
container_name: dbzui-zookeeper
image: debezium/zookeeper:1.6
networks:
- dbzui-network
dbzui-kafka:
container_name: dbzui-kafka
image: debezium/kafka:1.6
ports:
- "9092:9092"
depends_on:
- dbzui-zookeeper
environment:
- ZOOKEEPER_CONNECT=dbzui-zookeeper:2181
networks:
- dbzui-network
dbzui-db-pg:
container_name: dbzui-db-pg
image: debezium/example-postgres:1.6
ports:
- "65432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
networks:
- dbzui-network
dbzui-db-mysql:
container_name: dbzui-db-mysql
image: debezium/example-mysql:1.6
ports:
- "63306:3306"
environment:
- MYSQL_ROOT_PASSWORD=debezium
- MYSQL_USER=mysqluser
- MYSQL_PASSWORD=mysql
networks:
- dbzui-network
dbzui-db-mongo:
container_name: dbzui-db-mongo
image: mongo:3.6
command: ["mongod", "--replSet", "rs0", "--auth"]
ports:
- "37017:27017"
volumes:
- ./backend/src/test/resources/initialize-mongo-single.js:/docker-entrypoint-initdb.d/initialize-mongo-single.js
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=admin
- MONGO_INITDB_DATABASE=admin
networks:
- dbzui-network
mongo-initializer:
image: mongo:3.6
networks:
- dbzui-network
depends_on:
- dbzui-db-mongo
command: bash -c 'sleep 20 && mongo -u admin -p admin --authenticationDatabase admin dbzui-db-mongo:27017/inventory --eval "rs.initiate();"'
dbzui-connect:
container_name: dbzui-connect
image: debezium/connect:1.6
ports:
- "8083:8083"
depends_on:
- dbzui-kafka
- dbzui-db-pg
environment:
- BOOTSTRAP_SERVERS=dbzui-kafka:9092
- GROUP_ID=1
- CONFIG_STORAGE_TOPIC=my_connect_configs
- OFFSET_STORAGE_TOPIC=my_connect_offsets
- STATUS_STORAGE_TOPIC=my_connect_statuses
networks:
- dbzui-network
dbzui-backend:
container_name: dbzui-backend
build:
context: .
ports:
- "8080:8080"
environment:
KAFKA_CONNECT_URI: http://dbzui-connect:8083
depends_on:
- dbzui-connect
networks:
- dbzui-network
networks:
dbzui-network:
external: false