Merge pull request #198 from jabdoa2/cache_models_for_development

cache models for faster development cycles in docker compose
This commit is contained in:
Yuhong Sun 2023-07-19 19:57:06 -07:00 committed by GitHub
commit aed88e8b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,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:
@ -49,6 +52,10 @@ 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 +122,6 @@ volumes:
db_volume:
qdrant_volume:
typesense_volume:
model_cache_torch:
model_cache_nltk:
model_cache_huggingface: