forked from eventuate-foundation/eventuate-cdc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-cdc-mysql-polling.yml
30 lines (30 loc) · 1.14 KB
/
docker-compose-cdc-mysql-polling.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
version: '3'
services:
eventuate-cdc-service:
env_file:
- ${DOCKER_ENV_FILE:-docker-compose-env-files/empty.env}
build:
context: ./eventuate-cdc-service/
image: eventuateio/eventuate-cdc-service:${DOCKER_IMAGE_TAG:-latest}
ports:
- "8099:8080"
links:
- mysql
- kafka
- zookeeper
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://mysql/eventuate
SPRING_DATASOURCE_USERNAME: mysqluser
SPRING_DATASOURCE_PASSWORD: mysqlpw
SPRING_DATASOURCE_DRIVER_CLASS_NAME: com.mysql.cj.jdbc.Driver
EVENTUATELOCAL_ZOOKEEPER_CONNECTION_STRING: zookeeper:2181
EVENTUATELOCAL_KAFKA_BOOTSTRAP_SERVERS: kafka:29092
EVENTUATELOCAL_CDC_DB_USER_NAME: root
EVENTUATELOCAL_CDC_DB_PASSWORD: rootpassword
EVENTUATELOCAL_CDC_READER_NAME: MySqlReader
EVENTUATE_OUTBOX_ID: 1
EVENTUATELOCAL_CDC_MYSQL_BINLOG_CLIENT_UNIQUE_ID: 1234567890
EVENTUATELOCAL_CDC_READ_OLD_DEBEZIUM_DB_OFFSET_STORAGE_TOPIC: "false"
EVENTUATE_CDC_TYPE: ${EVENTUATE_CDC_TYPE}
SPRING_PROFILES_ACTIVE: EventuatePolling
EVENTUATELOCAL_CDC_POLLING_PARALLEL_CHANNELS: parallel_channel_1