-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
72 lines (72 loc) · 1.46 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
version: '2'
services:
mongodb:
image: mongo:3.2
container_name: mongodb
ports:
- "27017:27017"
discovery:
image: microservices/discovery:1.0.2
container_name: discovery
ports:
- "8761:8761"
config:
image: microservices/configserver:1.0.2
container_name: config
ports:
- "8080:8080"
dashboard:
image: microservices/hystrix-dashboard:1.0.2
container_name: dashboard
ports:
- "8079:8079"
turbine:
image: microservices/turbine:1.0.2
container_name: turbine
ports:
- "8078:8078"
depends_on:
- discovery
- config
gateway:
image: microservices/gateway:1.0.2
container_name: gateway
ports:
- "8090:8090"
depends_on:
- discovery
- config
authors-service:
image: microservices/authors:1.0.2
container_name: authors-service
depends_on:
- discovery
- config
ports:
- "8081:8081"
books-service:
image: microservices/books:1.0.2
container_name: books-service
depends_on:
- discovery
- config
ports:
- "8082:8082"
releases-service:
image: microservices/releases:1.0.2
container_name: releases-service
depends_on:
- discovery
- config
ports:
- "8083:8083"
front-service:
image: microservices/front:1.0.2
container_name: front-service
depends_on:
- discovery
- config
- authors-service
- books-service
ports:
- "3000:3000"