-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
38 lines (35 loc) · 990 Bytes
/
docker-compose.yaml
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
version: "3.4"
services:
qdrant:
image: qdrant/qdrant:v1.6.0
container_name: qdrant
ports:
- "6333:6333"
frontend:
build:
context: frontend
dockerfile: Dockerfile
image: dandi-search-frontend
container_name: dandi-search-frontend
ports:
- "5173:5173"
environment:
REST_API_URL: http://localhost:8000
# volumes:
# - ./frontend:/app
rest:
image: ghcr.io/catalystneuro/dandiset-search-service:latest
container_name: dandi-search-rest
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "4", "--reload"]
ports:
- "8000:8000"
environment:
QDRANT_HOST: http://qdrant
QDRANT_PORT: 6333
QDRANT_COLLECTION_NAME: ${QDRANT_COLLECTION_NAME}
QDRANT_VECTOR_SIZE: ${QDRANT_VECTOR_SIZE}
QDRANT_API_KEY: ${QDRANT_API_KEY}
OPENAI_API_KEY: ${OPENAI_API_KEY}
DANDI_API_KEY: ${DANDI_API_KEY}
volumes:
- ./rest:/app