Skip to content

Commit

Permalink
add qdrant
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored May 22, 2024
1 parent 7a5ce84 commit 0b6218b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ x-airflow-common:
condition: service_healthy
mongodb:
condition: service_healthy
qdrant-healthcheck:
condition: service_healthy
networks:
- production
- monitoring
Expand Down Expand Up @@ -238,6 +240,34 @@ services:
- monitoring
<<: [*md-resources-common]

qdrant:
image: qdrant/qdrant:v1.9.2
restart: always
container_name: qdrant
ports:
- 6333:6333
- 6334:6334
expose:
- 6333
- 6334
- 6335
volumes:
- qdrant_data:/qdrant_data
<<: [*lg-resources-common]

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
<<: [*sm-resources-common]

redis-discord:
container_name: redis-discord
volumes:
Expand Down Expand Up @@ -696,6 +726,7 @@ volumes:
airflow_plugins:
airflow_sources:
tempo_data:
qdrant_data:

networks:
production:
Expand Down

0 comments on commit 0b6218b

Please sign in to comment.