langchain/tests/integration_tests/vectorstores/docker-compose/elasticsearch.yml

31 lines
882 B
YAML
Raw Normal View History

version: "3"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.0
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
- ELASTIC_PASSWORD=password
ports:
- "9200:9200"
healthcheck:
test: [ "CMD-SHELL", "curl --silent --fail http://localhost:9200/_cluster/health || exit 1" ]
interval: 1s
retries: 360
kibana:
image: docker.elastic.co/kibana/kibana:8.7.0
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
- ELASTICSEARCH_USERNAME=kibana_system
- ELASTICSEARCH_PASSWORD=password
- KIBANA_PASSWORD=password
ports:
- "5601:5601"
healthcheck:
test: [ "CMD-SHELL", "curl --silent --fail http://localhost:5601/login || exit 1" ]
interval: 10s
retries: 60