-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (63 loc) · 1.69 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
version: '2.4'
services:
eureka-discovery-service:
image: mariobros/eureka-discovery-service:0.0.2-SNAPSHOT
restart: always
ports:
- 8761:8761
config-server:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/config-server:0.0.2-SNAPSHOT
restart: always
depends_on:
eureka-discovery-service:
condition: service_healthy
ports:
- 8888:8888
admin-server:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/admin-server:0.0.2-SNAPSHOT
restart: always
depends_on:
config-server:
condition: service_healthy
ports:
- 9000:9000
zuul-gateway-service:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/zuul-gateway-service:0.0.2-SNAPSHOT
restart: always
depends_on:
config-server:
condition: service_healthy
ports:
- 8765:8765
user-management-service:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/user-management-service:0.0.2-SNAPSHOT
restart: always
depends_on:
config-server:
condition: service_healthy
ports:
- 8080:8080
angular-client:
image: mariobros/angular-client:0.0.1-SNAPSHOT
restart: always
depends_on:
zuul-gateway-service:
condition: service_healthy
ports:
- 81:80
react-client:
image: mariobros/react-client:0.0.1-SNAPSHOT
restart: always
depends_on:
zuul-gateway-service:
condition: service_healthy
ports:
- 80:80