mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-06 18:00:29 +02:00
cache models for faster development cycles in docker compose
This commit is contained in:
parent
3b1a8274a9
commit
b3ebda714d
@ -29,6 +29,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- local_dynamic_storage:/home/storage
|
- local_dynamic_storage:/home/storage
|
||||||
- file_connector_tmp_storage:/home/file_connector_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:
|
background:
|
||||||
image: danswer/danswer-backend:latest
|
image: danswer/danswer-backend:latest
|
||||||
build:
|
build:
|
||||||
@ -49,6 +52,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- local_dynamic_storage:/home/storage
|
- local_dynamic_storage:/home/storage
|
||||||
- file_connector_tmp_storage:/home/file_connector_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:
|
web_server:
|
||||||
image: danswer/danswer-web-server:latest
|
image: danswer/danswer-web-server:latest
|
||||||
build:
|
build:
|
||||||
@ -115,3 +122,6 @@ volumes:
|
|||||||
db_volume:
|
db_volume:
|
||||||
qdrant_volume:
|
qdrant_volume:
|
||||||
typesense_volume:
|
typesense_volume:
|
||||||
|
model_cache_torch:
|
||||||
|
model_cache_nltk:
|
||||||
|
model_cache_huggingface:
|
Loading…
x
Reference in New Issue
Block a user