Spaces:
Sleeping
Sleeping
File size: 672 Bytes
a7cba55 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | version: "3.9"
services:
qdrant:
image: qdrant/qdrant:latest
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_data:/qdrant/storage
api:
build:
context: .
dockerfile: Dockerfile.api
ports:
- "8000:8080"
env_file:
- .env
environment:
- QDRANT_URL=http://qdrant:6333
- VECTOR_BACKEND=qdrant
- API_PORT=8080
depends_on:
- qdrant
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
ports:
- "8501:8080"
env_file:
- .env
environment:
- API_URL=http://api:8080
depends_on:
- api
volumes:
qdrant_data:
|