-
Notifications
You must be signed in to change notification settings - Fork 367
/
docker-compose.yml
77 lines (69 loc) · 1.39 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
rabbitmq:
image: rabbitmq:3-management
ports:
- "4369:4369"
- "5671:5671"
- "5672:5672"
- "25672:25672"
- "15672:15672"
zipkin:
image: openzipkin/zipkin
ports:
- "9411:9411"
eureka-server:
image: spring-cloud-netflix-example/eureka-server
hostname: eureka-server
ports:
- "8761:8761"
config-server:
image: spring-cloud-netflix-example/config-server
links:
- "eureka-server"
- "rabbitmq"
volumes:
- ./config-server/config:/app/config
service-b:
image: spring-cloud-netflix-example/service-b
links:
- "eureka-server"
- "config-server"
- "hystrix-dashboard"
- "rabbitmq"
- "zipkin"
service-a:
image: spring-cloud-netflix-example/service-a
links:
- "eureka-server"
- "config-server"
- "service-b"
- "hystrix-dashboard"
- "rabbitmq"
- "zipkin"
admin-dashboard:
image: spring-cloud-netflix-example/admin-dashboard
ports:
- "8040:8040"
links:
- "eureka-server"
- "rabbitmq"
- "config-server"
- "service-a"
- "service-b"
- "zuul"
- "hystrix-dashboard"
zuul:
image: spring-cloud-netflix-example/zuul
ports:
- "8060:8060"
links:
- "eureka-server"
- "config-server"
- "service-a"
- "rabbitmq"
- "zipkin"
hystrix-dashboard:
image: spring-cloud-netflix-example/hystrix-dashboard
ports:
- "8050:8050"
links:
- "eureka-server"