Skip to content

Commit 7a81485

Browse files
committed
deploy: configure production docker-compose with replicas and production-ready environment
1 parent 0e9d3b8 commit 7a81485

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

infra/docker-compose.prod.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ services:
3434
- QDRANT_HOST=qdrant
3535
- START_METRICS=true
3636
- METRICS_PORT=9000
37+
- HF_HOME=/app/cache/huggingface
38+
- FASTEMBED_CACHE_PATH=/app/cache/fastembed
39+
volumes:
40+
- model_cache:/app/cache
3741
ports:
3842
- "9000:9000"
3943
depends_on:
@@ -59,3 +63,6 @@ services:
5963
redis:
6064
condition: service_healthy
6165
restart: unless-stopped
66+
67+
volumes:
68+
model_cache:

0 commit comments

Comments
 (0)