-
-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathcompose-search.yml
More file actions
104 lines (93 loc) · 3.08 KB
/
compose-search.yml
File metadata and controls
104 lines (93 loc) · 3.08 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
services:
elasticsearch:
image: elasticsearch:7.17.4
restart: unless-stopped
environment:
- discovery.type=single-node
- http.cors.allow-origin=/.*/
- http.cors.enabled=true
- xpack.security.enabled=false
volumes:
- ./conf/elasticsearch/synonyms:/usr/share/elasticsearch/config/synonyms
ports:
- 9200:9200
profiles:
- search
elasticvue:
image: cars10/elasticvue:1.8.0
restart: unless-stopped
volumes:
- ./conf/elasticvue.json:/usr/share/nginx/html/api/default_clusters.json
ports:
- 8092:8080
profiles:
- search
lila_search_app:
image: ghcr.io/lichess-org/lila-search-app:latest
volumes:
- ./conf/lila-search-logback.xml:/opt/config/logback.xml
environment:
- MONGO_URI=mongodb://mongodb:27017/?readPreference=secondary
- MONGO_DATABASE=lichess
- MONGO_STUDY_URI=mongodb://mongodb:27017
- MONGO_STUDY_DATABASE=lichess
- ELASTIC_URI=http://elasticsearch:9200
- HTTP_SHUTDOWN_TIMEOUT=1
- HTTP_ENABLE_DOCS=true
- JAVA_TOOL_OPTIONS=-Dlogback.configurationFile=/opt/config/logback.xml
restart: unless-stopped
profiles:
- search
lila_search_ingestor:
image: ghcr.io/lichess-org/lila-search-ingestor-app:latest
volumes:
- ./conf/lila-search-logback.xml:/opt/config/logback.xml
environment:
- MONGO_URI=mongodb://mongodb:27017/?readPreference=secondary
- MONGO_DATABASE=lichess
- MONGO_STUDY_URI=mongodb://mongodb:27017
- MONGO_STUDY_DATABASE=lichess
- ELASTIC_URI=http://elasticsearch:9200
- OTEL_EXPORTER_PROMETHEUS_HOST=0.0.0.0
- OTEL_EXPORTER_PROMETHEUS_PORT=9465
- INGESTOR_FORUM_TIME_WINDOWS=1
- INGESTOR_FORUM_MAX_POST_LENGTH=5000
- INGESTOR_TEAM_TIME_WINDOWS=1
- INGESTOR_STUDY_BATCH_SIZE=100
- INGESTOR_STUDY_INTERVAL=30
- INGESTOR_GAME_BATCH_SIZE=100
- INGESTOR_GAME_TIME_WINDOWS=2
- INGESTOR_GAME_START_AT=0
- JAVA_TOOL_OPTIONS=-Dlogback.configurationFile=/opt/config/logback.xml
- KV_STORE_PATH=/tmp/json.store
restart: unless-stopped
profiles:
- search
lila_search_ingestor_cli:
image: ghcr.io/lichess-org/lila-search-ingestor-cli:latest
volumes:
- ./conf/lila-search-logback.xml:/opt/config/logback.xml
environment:
- MONGO_URI=mongodb://mongodb:27017/?readPreference=secondary
- MONGO_DATABASE=lichess
- MONGO_STUDY_URI=mongodb://mongodb:27017
- MONGO_STUDY_DATABASE=lichess
- ELASTIC_URI=http://elasticsearch:9200
- INGESTOR_FORUM_TIME_WINDOWS=1
- INGESTOR_FORUM_MAX_POST_LENGTH=5000
- INGESTOR_TEAM_TIME_WINDOWS=1
- INGESTOR_STUDY_BATCH_SIZE=100
- INGESTOR_STUDY_INTERVAL=30
- INGESTOR_GAME_BATCH_SIZE=100
- INGESTOR_GAME_TIME_WINDOWS=2
- INGESTOR_GAME_START_AT=0
- JAVA_TOOL_OPTIONS=-Dlogback.configurationFile=/opt/config/logback.xml
- KV_STORE_PATH=/tmp/json.store
command:
- "index"
- "--all"
- "--since"
- "0"
- "--refresh"
profiles:
- utils