-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
129 lines (121 loc) · 3.1 KB
/
Copy pathdocker-compose.yml
File metadata and controls
129 lines (121 loc) · 3.1 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: '2.1'
services:
mysql:
image: cloud/mysql:0.0.1
restart: always
ports:
- 3306:3306
logging:
options:
max-size: "10m"
max-file: "10"
environment:
MYSQL_ROOT_PASSWORD: root
config:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/config:0.0.1
restart: always
logging:
options:
max-size: "10m"
max-file: "10"
registry:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/registry:0.0.1
restart: always
depends_on:
- "config"
ports:
- "8761:8761"
logging:
options:
max-size: "10m"
max-file: "10"
command: ["wait-for-it.sh", "config:8888/health/status", "--","startup.sh", "docker","registry"]
gateway:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/gateway:0.0.1
restart: always
depends_on:
- "config"
ports:
- "80:8751"
logging:
options:
max-size: "10m"
max-file: "10"
command: ["wait-for-it.sh", "config:8888/health/status", "--","startup.sh", "docker","gateway"]
monitor:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/monitor:0.0.1
restart: always
depends_on:
- "config"
- "registry"
ports:
- 9994:9994
logging:
options:
max-size: "10m"
max-file: "10"
command: ["wait-for-it.sh", "config:8888/health/status", "--","startup.sh", "docker","monitor"]
account-service_1:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/account-service:0.0.1
restart: always
depends_on:
- "config"
ports:
- 6000:6000
logging:
options:
max-size: "10m"
max-file: "10"
command: ["wait-for-it.sh", "config:8888/health/status", "--","startup.sh", "docker","account-service"]
account-service_2:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/account-service:0.0.1
restart: always
depends_on:
- "config"
ports:
- 6001:6000
logging:
options:
max-size: "10m"
max-file: "10"
command: ["wait-for-it.sh", "config:8888/health/status", "--","startup.sh", "docker","account-service"]
order-service_1:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/order-service:0.0.1
restart: always
depends_on:
- "config"
ports:
- 6002:6005
logging:
options:
max-size: "10m"
max-file: "10"
command: ["wait-for-it.sh", "config:8888/health/status", "--","startup.sh", "docker","order-service"]
order-service_2:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: cloud/order-service:0.0.1
restart: always
depends_on:
- "config"
ports:
- 6003:6005
logging:
options:
max-size: "10m"
max-file: "10"
command: ["wait-for-it.sh", "config:8888/health/status", "--","startup.sh", "docker","order-service"]