mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
feat: initial work on elasticsearch integration
Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
34
compose.yml
34
compose.yml
@@ -10,6 +10,7 @@ services:
|
||||
image: mongo
|
||||
ports:
|
||||
- "27017:27017"
|
||||
command: ["--replSet", "rs0"]
|
||||
volumes:
|
||||
- ./.data/db:/data/db
|
||||
ulimits:
|
||||
@@ -74,4 +75,35 @@ services:
|
||||
command: --config /etc/livekit.yml
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./livekit.yml:/etc/livekit.yml
|
||||
- ./livekit.yml:/etc/livekit.yml
|
||||
|
||||
elasticsearch:
|
||||
image: elasticsearch:9.3.0
|
||||
volumes:
|
||||
- ./.data/elasticsearch:/usr/share/elasticsearch/data
|
||||
ports:
|
||||
- 9200:9200
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
- model-runner.docker.internal:host-gateway
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- xpack.security.enabled=false
|
||||
- xpack.security.http.ssl.enabled=false
|
||||
- indices.id_field_data.enabled=true
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"curl --output /dev/null --silent --head --fail http://elasticsearch:9200",
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 30
|
||||
|
||||
kibana:
|
||||
image: kibana:9.3.1
|
||||
ports:
|
||||
- 5601:5601
|
||||
environment:
|
||||
ELASTICSEARCH_HOSTS: '["http://elasticsearch:9200"]'
|
||||
Reference in New Issue
Block a user