This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-es.yml
109 lines (102 loc) · 2.49 KB
/
docker-compose-es.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
version: "3.9"
services:
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.3.2
ports:
- "9200:9200"
- "9300:9300"
environment:
- ELASTIC_PASSWORD=test
- discovery.type=single-node
- xpack.security.enabled=false
- cluster.name=es-docker-cluster
- bootstrap.memory_lock=true
#volumes:
# - data01:/usr/share/elasticsearch/data
healthcheck:
test: ["CMD-SHELL", "curl http://localhost:9200"]
interval: 10s
timeout: 10s
retries: 120
#catalogue:
# build:
# context: .
# dockerfile: catalogue/Dockerfile
# ports:
# - 8085:8085
# volumes:
# - ./compose-confs/es/es-catalogue.yml:/conf/es-catalogue.yml
# environment:
# - MASTRO_CONFIG=/conf/es-catalogue.yml
# depends_on:
# - es01
# networks:
# - mastro
featurestore:
build:
context: .
dockerfile: featurestore/Dockerfile
ports:
- 8086:8085
volumes:
- ./compose-confs/es/es-fs.yml:/conf/es-fs.yml
- ./compose-confs/es/index-fs.json:/conf/index-fs.json
environment:
- MASTRO_CONFIG=/conf/es-fs.yml
depends_on:
elastic:
condition: service_healthy
deploy:
restart_policy:
condition: on-failure
#metricstore:
# build:
# context: .
# dockerfile: metricstore/Dockerfile
# ports:
# - 8087:8085
# volumes:
# - ./compose-confs/es/es-ms.yml:/conf/es-ms.yml
# environment:
# - MASTRO_CONFIG=/conf/es-ms.yml
# depends_on:
# - es01
# - mastro
embeddingstore:
build:
context: .
dockerfile: embeddingstore/Dockerfile
ports:
- 8089:8085
volumes:
- ./compose-confs/es/es-es.yml:/conf/es-es.yml
- ./compose-confs/es/index-es.json:/conf/index-es.json
environment:
- MASTRO_CONFIG=/conf/es-es.yml
depends_on:
elastic:
condition: service_healthy
# ui:
# build:
# context: ui
# dockerfile: Dockerfile
# ports:
# - 8088:80
# environment:
# - NGINX_PORT=80
# - CATALOGUE_URL="http://catalogue:8085/"
# - FEATURESTORE_URL="http://featurestore:8085/"
# - METRICSTORE_URL="http://metricstore:8085/"
# depends_on:
# elastic:
# condition: service_healthy
# #featurestore:
# # condition: service_healthy
# #- catalogue
# #- metricstore
# deploy:
# restart_policy:
# condition: on-failure
#volumes:
# data01:
# driver: local