-
Notifications
You must be signed in to change notification settings - Fork 265
/
Copy pathdocker-compose.yml
91 lines (85 loc) · 2.31 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
81
82
83
84
85
86
87
88
89
90
91
version: '2.1'
services:
platform-configuration:
image: icyfenix/bookstore-springcloud:platform-configuration
restart: always
ports:
- 8888:8888
platform-registry:
image: icyfenix/bookstore-springcloud:platform-registry
environment:
CONFIG_HOST: platform-configuration
restart: always
depends_on:
platform-configuration:
condition: service_healthy
ports:
- 8761:8761
platform-gateway:
image: icyfenix/bookstore-springcloud:platform-gateway
depends_on:
platform-configuration:
condition: service_healthy
platform-registry:
condition: service_healthy
environment:
CONFIG_HOST: platform-configuration
REGISTRY_HOST: platform-registry
restart: always
ports:
- 8080:8080
domain-security:
image: icyfenix/bookstore-springcloud:domain-security
depends_on:
platform-configuration:
condition: service_healthy
platform-registry:
condition: service_healthy
environment:
CONFIG_HOST: platform-configuration
REGISTRY_HOST: platform-registry
restart: always
ports:
- 8301:8301
domain-account:
image: icyfenix/bookstore-springcloud:domain-account
depends_on:
platform-configuration:
condition: service_healthy
platform-registry:
condition: service_healthy
environment:
CONFIG_HOST: platform-configuration
REGISTRY_HOST: platform-registry
AUTH_HOST: domain-security
restart: always
ports:
- 8401:8401
domain-warehouse:
image: icyfenix/bookstore-springcloud:domain-warehouse
depends_on:
platform-configuration:
condition: service_healthy
platform-registry:
condition: service_healthy
environment:
CONFIG_HOST: platform-configuration
REGISTRY_HOST: platform-registry
AUTH_HOST: domain-security
restart: always
ports:
- 8501:8501
domain-payment:
image: icyfenix/bookstore-springcloud:domain-payment
depends_on:
platform-configuration:
condition: service_healthy
platform-registry:
condition: service_healthy
environment:
CONFIG_HOST: platform-configuration
REGISTRY_HOST: platform-registry
AUTH_HOST: domain-security
restart: always
ports:
- 8601:8601