-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.yml
52 lines (48 loc) · 1.23 KB
/
demo.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
version: "3.7"
services:
postgresql:
container_name: postgresql
image: debezium/postgres:latest
ports:
- 5432:5432
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
redis:
container_name: redis
image: redis
ports:
- 6379:6379
worker1:
container_name: worker1
image: uuhnaut69/debezium-standalone:latest
depends_on:
- postgresql
- redis
environment:
- CONNECTOR_CLASS=io.debezium.connector.postgresql.PostgresConnector
- DATABASE_HOSTNAME=postgresql
- DATABASE_PORT=5432
- DATABASE_NAME=postgres
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
- REDIS_HOST=redis
- REDIS_PORT=6379
- SLOT_NAME=worker1
worker2:
container_name: worker2
image: uuhnaut69/debezium-standalone:latest
depends_on:
- postgresql
- redis
environment:
- CONNECTOR_CLASS=io.debezium.connector.postgresql.PostgresConnector
- DATABASE_HOSTNAME=postgresql
- DATABASE_PORT=5432
- DATABASE_NAME=postgres
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
- REDIS_HOST=redis
- REDIS_PORT=6379
- SLOT_NAME=worker2