-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
216 lines (215 loc) · 4.59 KB
/
docker-compose.yaml
File metadata and controls
216 lines (215 loc) · 4.59 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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
version: "3"
networks:
example:
services:
etcd:
image: bitnami/etcd:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
networks:
- example
ports:
- 2379:2379
environment:
ALLOW_NONE_AUTHENTICATION: yes
etcdkeeper:
image: deltaprojects/etcdkeeper:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
networks:
- example
ports:
- 8080:8080
mysql:
image: mariadb
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
networks:
- example
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: my-secret-pw
MYSQL_DATABASE: example-database
TZ: "Asia/Shanghai"
redis:
image: redis
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
networks:
- example
ports:
- 6379:6379
asynq-webui:
image: hibiken/asynqmon:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
networks:
- example
ports:
- 8088:8080
jeager:
image: jaegertracing/all-in-one:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
networks:
- example
ports:
- 16686:16686
- 4318:4318
environment:
COLLECTOR_ZIPKIN_HTTP_PORT: 9441
prometheus:
image: bitnami/prometheus:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
networks:
- example
volumes:
- ./prometheus.yaml:/opt/bitnami/prometheus/conf/prometheus.yml
external_links:
- asjard-pushgateway-1:pushgateway
pushgateway:
image: bitnami/pushgateway:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
ports:
- 9091:9091
networks:
- example
consul:
image: consul:1.15.4
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
ports:
- 8500:8500
environment:
CONSUL_BIND_INTERFACE: eth0
networks:
- example
service-center-etcd:
image: "quay.io/coreos/etcd:v3.5.15"
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
environment:
ETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_INITIAL_ADVERTISE_PEER_URLS: http://etcd:2380
ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
ETCD_INITIAL_CLUSTER: default=http://etcd:2380
networks:
- example
service-center:
image: servicecomb/service-center:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
ports:
- 30100:30100
environment:
BACKEND_ADDRESS: http://etcd:2379
networks:
- example
depends_on:
- service-center-etcd
links:
- service-center-etcd:etcd
servicecomb-kie:
# build: https://github.com/wksw/servicecomb-kie.git#master
image: servicecomb/kie:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
ports:
- 30110:30110
environment:
DB_KIND: etcd
DB_URI: http://etcd:2379
# MONGODB_USER: kie
# MONGODB_PWD: 123
# MONGODB_ADDR: mongo:27017
networks:
- example
servicecomb-ux:
image: servicecomb/ux:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
ports:
- 4200:4200
environment:
SC_ADDRESS: http://service-center:30100
networks:
- example
depends_on:
- service-center
links:
- servicecomb-kie:kie
# nacos:
# image: nacos/nacos-server:v2.4.1
# restart: always
# logging:
# driver: json-file
# options:
# max-size: "10m"
# max-file: "10"
# environment:
# - PREFER_HOST_MODE=hostname
# - MODE=standalone
# - NACOS_AUTH_IDENTITY_KEY=serverIdentity
# - NACOS_AUTH_IDENTITY_VALUE=security
# - NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789
# ports:
# - "8848:8848"
# - "9848:9848"
# networks:
# - example