-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 1.19 KB
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 1.19 KB
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
43
44
45
46
x-fusesearch: &fusesearch
build:
context: .
dockerfile: docker/Dockerfile
volumes:
- ./data:/app/data
- ./data/models:/root/.cache/huggingface
environment:
QDRANT_HOST: qdrant
QDRANT_PORT: 6333
# Suppress noisy model loading warnings from sentence-transformers.
# https://huggingface.co/docs/transformers/en/main_classes/logging
TRANSFORMERS_VERBOSITY: error
env_file:
- path: .env
required: false
depends_on:
qdrant:
condition: service_healthy
services:
fusesearch:
<<: *fusesearch
ports:
- "${BIND_ADDRESS:-0.0.0.0}:${BIND_FUSESEARCH_PORT:-8000}:${FUSESEARCH_PORT:-8000}"
fusesearch-mcp:
<<: *fusesearch
command: python -m fusesearch mcp --transport streamable-http
ports:
- "${BIND_ADDRESS:-0.0.0.0}:${BIND_MCP_PORT:-8001}:${MCP_PORT:-8001}"
qdrant:
build:
context: .
dockerfile: docker/qdrant.Dockerfile
volumes:
- ./data/qdrant:/qdrant/storage
ports:
- "${QDRANT_PORT:-6333}:6333"
- "${QDRANT_GRPC_PORT:-6334}:6334"
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:6333/healthz || exit 1"]
interval: 10s
timeout: 5s
retries: 3