forked from eventuate-foundation/eventuate-cdc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-cdc-mysql-binlog.yml
38 lines (38 loc) · 1.36 KB
/
docker-compose-cdc-mysql-binlog.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
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
- activemq
- rabbitmq
- redis
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: ${SPRING_PROFILES_ACTIVE}
ACTIVEMQ_URL: tcp://activemq:61616
ACTIVEMQ_USER: eventuateuser
ACTIVEMQ_PASSWORD: eventuatepassword
RABBITMQ_BROKER_ADDRESSES: rabbitmq
EVENTUATE_REDIS_SERVERS: redis:6379
EVENTUATE_REDIS_PARTITIONS: 1