diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 11fff88..5ac47cf 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -34,6 +34,9 @@ services: - D_RETRIEVER_SEARCH=7 - COHERE_API_KEY=some_credentials - OPENAI_API_KEY=some_credentials2 + - QDRANT_HOST=localhost + - QDRANT_PORT=6333 + - QDRANT_API_KEY= volumes: - ./coverage:/project/coverage depends_on: @@ -43,6 +46,8 @@ services: condition: service_healthy postgres: condition: service_healthy + qdrant-healthcheck: + condition: service_healthy neo4j: image: "neo4j:5.9.0" environment: @@ -87,3 +92,25 @@ services: timeout: 30s retries: 2 start_period: 40s + qdrant: + image: qdrant/qdrant:v1.9.2 + restart: always + container_name: qdrant + ports: + - 6333:6333 + expose: + - 6333 + volumes: + - ./qdrant_data:/qdrant_data + qdrant-healthcheck: + restart: always + image: curlimages/curl:latest + entrypoint: ["/bin/sh", "-c", "--", "while true; do sleep 30; done;"] + depends_on: + - qdrant + healthcheck: + test: ["CMD", "curl", "-f", "http://qdrant:6333/readyz"] + interval: 10s + timeout: 2s + retries: 5 +