Skip to content

Commit

Permalink
feat: Added missing service to docker-compose.test.yaml!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed May 16, 2024
1 parent 66826b4 commit f32a46f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -43,6 +46,8 @@ services:
condition: service_healthy
postgres:
condition: service_healthy
qdrant-healthcheck:
condition: service_healthy
neo4j:
image: "neo4j:5.9.0"
environment:
Expand Down Expand Up @@ -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

0 comments on commit f32a46f

Please sign in to comment.