mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
4bdcedab54
Add more missed imports for integration tests. Bump `pytest` to the current latest version. Fix `tests/integration_tests/vectorstores/test_elasticsearch.py` to update its cassette(easy fix). Related PR: https://github.com/hwchase17/langchain/pull/2560
27 lines
859 B
YAML
27 lines
859 B
YAML
version: "3"
|
|
|
|
services:
|
|
elasticsearch:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.0 # https://www.docker.elastic.co/r/elasticsearch/elasticsearch
|
|
environment:
|
|
- discovery.type=single-node
|
|
- xpack.security.enabled=false # security has been disabled, so no login or password is required.
|
|
- xpack.security.http.ssl.enabled=false
|
|
ports:
|
|
- "9200:9200"
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "curl --silent --fail http://localhost:9200/_cluster/health || exit 1" ]
|
|
interval: 10s
|
|
retries: 60
|
|
|
|
kibana:
|
|
image: docker.elastic.co/kibana/kibana:8.7.0
|
|
environment:
|
|
- ELASTICSEARCH_URL=http://elasticsearch:9200
|
|
ports:
|
|
- "5601:5601"
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "curl --silent --fail http://localhost:5601/login || exit 1" ]
|
|
interval: 10s
|
|
retries: 60
|