This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
forked from zhangxd1989/spring-boot-cloud
-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
79 lines (79 loc) · 1.51 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3'
services:
rabbitmq:
image: rabbitmq:3-management
restart: always
ports:
- 5672:5672
- 15673:15672
registry:
image: spring-boot-cloud/registry
restart: on-failure
ports:
- "8761:8761"
config:
image: spring-boot-cloud/config
restart: on-failure
ports:
- "8888:8888"
# config 从本地读取配置文件
# volumes:
# - "./config-repo:/config-repo"
depends_on:
- registry
- rabbitmq
monitor:
image: spring-boot-cloud/monitor
restart: on-failure
ports:
- "8040:8040"
depends_on:
- registry
zipkin:
image: openzipkin/zipkin:2.10.4
restart: on-failure
ports:
- "9411:9411"
gateway:
image: spring-boot-cloud/gateway
restart: on-failure
ports:
- "8060:8060"
depends_on:
- rabbitmq
- registry
- config
- monitor
- zipkin
auth-service:
image: spring-boot-cloud/auth-service
restart: on-failure
ports:
- "5000:5000"
depends_on:
- rabbitmq
- registry
- config
- monitor
- zipkin
- gateway
svca-service:
image: spring-boot-cloud/svca-service
restart: on-failure
depends_on:
- rabbitmq
- registry
- config
- monitor
- zipkin
- gateway
svcb-service:
image: spring-boot-cloud/svcb-service
restart: on-failure
depends_on:
- rabbitmq
- registry
- config
- monitor
- zipkin
- gateway