-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
61 lines (55 loc) · 1.32 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
58
59
60
61
rabbitmq:
container_name: dev_rabbit
hostname: rabbit
image: rabbitmq:3.6.6-management
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER = guest
- RABBITMQ_DEFAULT_PASS = guest
zipkin_mysql:
image: mysql:5.6.23
ports:
- "3308:3306"
environment:
TZ : "Asia/Shanghai"
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: zipkin
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
test1_mysql:
image: mysql:5.6.23
ports:
- "3309:3306"
environment:
TZ : "Asia/Shanghai"
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: test1
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
test2_mysql:
image: mysql:5.6.23
ports:
- "3310:3306"
environment:
TZ : "Asia/Shanghai"
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: test2
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
zookeeper :
image: zookeeper:3.4.11
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka
links:
- zookeeper:zk
ports:
- "9092:9092"
environment:
KAFKA_ADVERTOSED_HOST_NAME: localhost
KAFKA_ADVERTOSED_PORT: "9092"
KAFKA_ZOOKEEPER_CONNECT: zk:2181
redis:
image: redis:4.0
ports:
- "6379:6379"