-
Notifications
You must be signed in to change notification settings - Fork 852
/
Copy pathdocker-compose.yml
57 lines (57 loc) · 1.81 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
version: '3.9'
services:
postgres:
image: quay.io/debezium/example-postgres:${DEBEZIUM_VERSION}
container_name: postgres
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
mongodb:
image: quay.io/debezium/example-mongodb:${DEBEZIUM_VERSION}
container_name: mongodb
ports:
- "27017:27017"
environment:
- MONGODB_USER=debezium
- MONGODB_PASSWORD=dbz
mysql:
image: quay.io/debezium/example-mysql:${DEBEZIUM_VERSION}
container_name: mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=debezium
- MYSQL_USER=mysqluser
- MYSQL_PASSWORD=mysqlpw
debezium-server-postgres:
image: quay.io/debezium/server:${DEBEZIUM_VERSION}
container_name: debezium-server-postgres
environment:
GOOGLE_APPLICATION_CREDENTIALS: /tmp/credentials/service-account.json
ports:
- "8080:8080"
volumes:
- /your/path/to/service-account.json:/tmp/credentials/service-account.json
- ./config-postgres:/debezium/config
debezium-server-mongodb:
image: quay.io/debezium/server:${DEBEZIUM_VERSION}
container_name: debezium-server-mongodb
environment:
GOOGLE_APPLICATION_CREDENTIALS: /tmp/credentials/service-account.json
ports:
- "8080:8080"
volumes:
- /your/path/to/service-account.json:/tmp/credentials/service-account.json
- ./config-mongodb:/debezium/config
debezium-server-mysql:
image: quay.io/debezium/server:${DEBEZIUM_VERSION}
container_name: debezium-server-mysql
environment:
GOOGLE_APPLICATION_CREDENTIALS: /tmp/credentials/service-account.json
ports:
- "8080:8080"
volumes:
- /your/path/to/service-account.json:/tmp/credentials/service-account.json
- ./config-mysql:/debezium/config