forked from kucharzyk/spring-angular2-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
80 lines (80 loc) · 2 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
80
version: '2'
services:
config-service:
image: spring-ng2-starter/shardis-config
ports:
- 8888:8888
environment:
- CONFIGURATION_REPOSITORY=https://github.com/shardis/spring-angular2-starter-configuration.git
discovery-service:
image: spring-ng2-starter/shardis-discovery
ports:
- 8081:8081
depends_on:
- config-service
links:
- config-service
entrypoint: ./wait-for-service.sh http://config-service:8888/health
api-service:
image: spring-ng2-starter/shardis-api
ports:
- 8082:8082
depends_on:
- discovery-service
- auth-service
links:
- discovery-service
- auth-service
- config-service
entrypoint: ./wait-for-service.sh http://discovery-service:8081/health
auth-service:
image: spring-ng2-starter/shardis-auth
ports:
- 8083:8083
depends_on:
- discovery-service
links:
- discovery-service
- config-service
entrypoint: ./wait-for-service.sh http://discovery-service:8081/health
ui-service:
image: spring-ng2-starter/shardis-ui
ports:
- 8080:8080
depends_on:
- discovery-service
- auth-service
- api-service
- gateway-service
links:
- discovery-service
- gateway-service
- auth-service
- api-service
- config-service
entrypoint: ./wait-for-service.sh http://discovery-service:8081/health
gateway-service:
image: spring-ng2-starter/shardis-gateway
ports:
- 8090:8090
depends_on:
- discovery-service
links:
- discovery-service
- auth-service
- api-service
- config-service
entrypoint: ./wait-for-service.sh http://discovery-service:8081/health
admin-service:
image: spring-ng2-starter/shardis-admin
ports:
- 8084:8084
depends_on:
- discovery-service
links:
- discovery-service
- auth-service
- api-service
- ui-service
- config-service
entrypoint: ./wait-for-service.sh http://discovery-service:8081/health