File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,16 @@ services:
21
21
- ./:/workspace
22
22
entrypoint : yarn
23
23
24
+ elastic :
25
+ image : elasticsearch:7.17.0
26
+ environment :
27
+ - xpack.security.transport.ssl.enabled=false
28
+ - xpack.security.enabled=false
29
+ - discovery.type=single-node
30
+ ports :
31
+ - 9200:9200
32
+ - 9300:9300
33
+
24
34
mailhog :
25
35
image : mailhog/mailhog
26
36
logging :
@@ -252,7 +262,7 @@ services:
252
262
- collaboration
253
263
- files-service
254
264
- portfolio
255
- - search
265
+ - search-service
256
266
ports :
257
267
- 4000:3000
258
268
@@ -342,17 +352,19 @@ services:
342
352
- rabbitmq
343
353
- db
344
354
345
- search :
355
+ search-service :
346
356
image : node:16-alpine
347
357
working_dir : /workspace
348
358
volumes :
349
359
- ./:/workspace
350
360
entrypoint : yarn workspace @search/service dev
351
361
environment :
352
362
- DB_HOST=db
363
+ - ELASTICSEARCH_HOST=http://elastic:9200
353
364
depends_on :
354
365
- rabbitmq
355
366
- db
367
+ - elastic
356
368
357
369
files-service :
358
370
image : node:16-alpine
You can’t perform that action at this time.
0 commit comments