mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-07 11:28:09 +02:00
Add model caching to docker compose prod (#219)
This commit is contained in:
parent
aed88e8b9e
commit
c41421ccf4
@ -55,7 +55,6 @@ services:
|
||||
- model_cache_torch:/root/.cache/torch/
|
||||
- model_cache_nltk:/root/nltk_data/
|
||||
- model_cache_huggingface:/root/.cache/huggingface/
|
||||
|
||||
web_server:
|
||||
image: danswer/danswer-web-server:latest
|
||||
build:
|
||||
@ -124,4 +123,4 @@ volumes:
|
||||
typesense_volume:
|
||||
model_cache_torch:
|
||||
model_cache_nltk:
|
||||
model_cache_huggingface:
|
||||
model_cache_huggingface:
|
||||
|
@ -23,6 +23,9 @@ services:
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
- model_cache_torch:/root/.cache/torch/
|
||||
- model_cache_nltk:/root/nltk_data/
|
||||
- model_cache_huggingface:/root/.cache/huggingface/
|
||||
background:
|
||||
image: danswer/danswer-backend:latest
|
||||
build:
|
||||
@ -42,6 +45,9 @@ services:
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
- model_cache_torch:/root/.cache/torch/
|
||||
- model_cache_nltk:/root/nltk_data/
|
||||
- model_cache_huggingface:/root/.cache/huggingface/
|
||||
web_server:
|
||||
image: danswer/danswer-web-server:latest
|
||||
build:
|
||||
@ -115,3 +121,6 @@ volumes:
|
||||
db_volume:
|
||||
qdrant_volume:
|
||||
typesense_volume:
|
||||
model_cache_torch:
|
||||
model_cache_nltk:
|
||||
model_cache_huggingface:
|
||||
|
Loading…
x
Reference in New Issue
Block a user