forked from sqshq/piggymetrics
-
Notifications
You must be signed in to change notification settings - Fork 215
/
docker-compose_ACP.yml
197 lines (185 loc) · 4.05 KB
/
docker-compose_ACP.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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
version: '2'
services:
rabbitmq:
image: rabbitmq:3-management
restart: always
ports:
- 15672:15672
logging:
options:
max-size: "10m"
max-file: "10"
links:
- config
config:
environment:
CONFIG_SERVICE_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-config
restart: always
ports:
- 8888:8888
logging:
options:
max-size: "10m"
max-file: "10"
registry:
environment:
CONFIG_SERVICE_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-registry
links:
- config
restart: always
ports:
- 8761:8761
logging:
options:
max-size: "10m"
max-file: "10"
gateway:
environment:
CONFIG_SERVICE_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-gateway
links:
- registry
- auth-service
- config
restart: always
ports:
- 4000:4000
logging:
options:
max-size: "10m"
max-file: "10"
auth-service:
environment:
CONFIG_SERVICE_PASSWORD: root
NOTIFICATION_SERVICE_PASSWORD: root
STATISTICS_SERVICE_PASSWORD: root
ACCOUNT_SERVICE_PASSWORD: root
MONGODB_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-auth-service
links:
- config
- auth-mongodb
- registry
restart: always
ports:
- 5000:5000
logging:
options:
max-size: "10m"
max-file: "10"
auth-mongodb:
environment:
MONGODB_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-mongodb
restart: always
ports:
- 27017:27017
logging:
options:
max-size: "10m"
max-file: "10"
account-service:
environment:
CONFIG_SERVICE_PASSWORD: root
ACCOUNT_SERVICE_PASSWORD: root
MONGODB_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-account-service
links:
- config
- account-mongodb
- registry
- auth-service
- rabbitmq
restart: always
ports:
- 6000:6000
logging:
options:
max-size: "10m"
max-file: "10"
account-mongodb:
environment:
INIT_DUMP: account-service-dump.js
MONGODB_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-mongodb
restart: always
ports:
- 27017:27017
logging:
options:
max-size: "10m"
max-file: "10"
statistics-service:
environment:
CONFIG_SERVICE_PASSWORD: root
MONGODB_PASSWORD: root
STATISTICS_SERVICE_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-statistics-service
links:
- config
- statistics-mongodb
- registry
- auth-service
- rabbitmq
restart: always
ports:
- 7000:7000
logging:
options:
max-size: "10m"
max-file: "10"
statistics-mongodb:
environment:
MONGODB_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-mongodb
restart: always
ports:
- 27017:27017
logging:
options:
max-size: "10m"
max-file: "10"
notification-service:
environment:
CONFIG_SERVICE_PASSWORD: root
MONGODB_PASSWORD: root
NOTIFICATION_SERVICE_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-notification-service
links:
- config
- notification-mongodb
- registry
- auth-service
- rabbitmq
restart: always
ports:
- 8000:8000
logging:
options:
max-size: "10m"
max-file: "10"
notification-mongodb:
image: goodraincloudframeworks/piggymetrics-mongodb
restart: always
ports:
- 27017:27017
environment:
MONGODB_PASSWORD: root
logging:
options:
max-size: "10m"
max-file: "10"
monitoring:
environment:
CONFIG_SERVICE_PASSWORD: root
image: goodraincloudframeworks/piggymetrics-monitoring
restart: always
ports:
- 9000:8080
- 8989:8989
logging:
options:
max-size: "10m"
max-file: "10"