forked from eventuate-local/eventuate-local
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-eventuate-local-mysql.yml
60 lines (54 loc) · 1.52 KB
/
docker-compose-eventuate-local-mysql.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
zookeeper:
image: eventuateio/eventuateio-local-zookeeper:0.10.0
ports:
- 2181:2181
- 2888:2888
- 3888:3888
kafka:
image: eventuateio/eventuateio-local-kafka:0.10.0
ports:
- 9092:9092
links:
- zookeeper
environment:
- ADVERTISED_HOST_NAME=${DOCKER_HOST_IP}
- KAFKA_HEAP_OPTS=-Xmx320m -Xms320m
- ZOOKEEPER_SERVERS=zookeeper:2181
mysql:
image: eventuateio/eventuateio-local-mysql:0.10.0
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=rootpassword
- MYSQL_USER=mysqluser
- MYSQL_PASSWORD=mysqlpw
cdcservice:
image: eventuateio/eventuateio-local-cdc-service:0.10.0
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.jdbc.Driver
EVENTUATELOCAL_KAFKA_BOOTSTRAP_SERVERS: kafka:9092
EVENTUATELOCAL_ZOOKEEPER_CONNECTION_STRING: zookeeper:2181
EVENTUATELOCAL_CDC_DB_USER_NAME: root
EVENTUATELOCAL_CDC_DB_PASSWORD: rootpassword
# consoleserver:
# build: eventuate-local-console/eventuate-local-console-server/docker
# links:
# - mysql
# - zookeeper
# ports:
# - "8080:8080"
# environment:
# SPRING_DATASOURCE_URL: jdbc:mysql://mysql/eventuate
# SPRING_DATASOURCE_USERNAME: mysqluser
# SPRING_DATASOURCE_PASSWORD: mysqlpw
# EVENTUATELOCAL_ZOOKEEPER_CONNECTION_STRING: zookeeper:2181
# DEBUG: kafka-node:*