Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
Remove Unused Volumes (onyx-dot-app#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Apr 20, 2024
1 parent 4e9605e commit 7d51549
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 21 deletions.
12 changes: 5 additions & 7 deletions deployment/docker_compose/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ services:
volumes:
- local_dynamic_storage:/home/storage
- file_connector_tmp_storage:/home/file_connector_storage
- model_cache_nltk:/root/nltk_data/
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
Expand Down Expand Up @@ -174,7 +173,6 @@ services:
volumes:
- local_dynamic_storage:/home/storage
- file_connector_tmp_storage:/home/file_connector_storage
- model_cache_nltk:/root/nltk_data/
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
Expand Down Expand Up @@ -218,7 +216,6 @@ services:
# Set to debug to get more fine-grained logs
- LOG_LEVEL=${LOG_LEVEL:-info}
volumes:
- model_cache_torch:/root/.cache/torch/
- model_cache_huggingface:/root/.cache/huggingface/
logging:
driver: json-file
Expand Down Expand Up @@ -246,7 +243,6 @@ services:
# Set to debug to get more fine-grained logs
- LOG_LEVEL=${LOG_LEVEL:-info}
volumes:
- model_cache_torch:/root/.cache/torch/
- model_cache_huggingface:/root/.cache/huggingface/
logging:
driver: json-file
Expand Down Expand Up @@ -314,10 +310,12 @@ services:
volumes:
# local_dynamic_storage is legacy only now
local_dynamic_storage:
file_connector_tmp_storage: # used to store files uploaded by the user temporarily while we are indexing them
# used to store files uploaded by the user temporarily while we are indexing them
# file_connector_tmp_storage is legacy only now
file_connector_tmp_storage:
db_volume:
vespa_volume:
model_cache_torch:
model_cache_nltk:
# Created by the container itself
model_cache_huggingface:
12 changes: 5 additions & 7 deletions deployment/docker_compose/docker-compose.prod-no-letsencrypt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ services:
volumes:
- local_dynamic_storage:/home/storage
- file_connector_tmp_storage:/home/file_connector_storage
- model_cache_nltk:/root/nltk_data/
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
Expand Down Expand Up @@ -54,7 +53,6 @@ services:
volumes:
- local_dynamic_storage:/home/storage
- file_connector_tmp_storage:/home/file_connector_storage
- model_cache_nltk:/root/nltk_data/
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
Expand Down Expand Up @@ -104,7 +102,6 @@ services:
# Set to debug to get more fine-grained logs
- LOG_LEVEL=${LOG_LEVEL:-info}
volumes:
- model_cache_torch:/root/.cache/torch/
- model_cache_huggingface:/root/.cache/huggingface/
logging:
driver: json-file
Expand Down Expand Up @@ -132,7 +129,6 @@ services:
# Set to debug to get more fine-grained logs
- LOG_LEVEL=${LOG_LEVEL:-info}
volumes:
- model_cache_torch:/root/.cache/torch/
- model_cache_huggingface:/root/.cache/huggingface/
logging:
driver: json-file
Expand Down Expand Up @@ -204,10 +200,12 @@ services:


volumes:
# local_dynamic_storage is legacy only now
local_dynamic_storage:
file_connector_tmp_storage: # used to store files uploaded by the user temporarily while we are indexing them
# used to store files uploaded by the user temporarily while we are indexing them
# file_connector_tmp_storage is legacy only now
file_connector_tmp_storage:
db_volume:
vespa_volume:
model_cache_torch:
model_cache_nltk:
# Created by the container itself
model_cache_huggingface:
12 changes: 5 additions & 7 deletions deployment/docker_compose/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ services:
volumes:
- local_dynamic_storage:/home/storage
- file_connector_tmp_storage:/home/file_connector_storage
- model_cache_nltk:/root/nltk_data/
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
Expand Down Expand Up @@ -54,7 +53,6 @@ services:
volumes:
- local_dynamic_storage:/home/storage
- file_connector_tmp_storage:/home/file_connector_storage
- model_cache_nltk:/root/nltk_data/
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
Expand Down Expand Up @@ -117,7 +115,6 @@ services:
# Set to debug to get more fine-grained logs
- LOG_LEVEL=${LOG_LEVEL:-info}
volumes:
- model_cache_torch:/root/.cache/torch/
- model_cache_huggingface:/root/.cache/huggingface/
logging:
driver: json-file
Expand Down Expand Up @@ -145,7 +142,6 @@ services:
# Set to debug to get more fine-grained logs
- LOG_LEVEL=${LOG_LEVEL:-info}
volumes:
- model_cache_torch:/root/.cache/torch/
- model_cache_huggingface:/root/.cache/huggingface/
logging:
driver: json-file
Expand Down Expand Up @@ -221,10 +217,12 @@ services:


volumes:
# local_dynamic_storage is legacy only now
local_dynamic_storage:
file_connector_tmp_storage: # used to store files uploaded by the user temporarily while we are indexing them
# used to store files uploaded by the user temporarily while we are indexing them
# file_connector_tmp_storage is legacy only now
file_connector_tmp_storage:
db_volume:
vespa_volume:
model_cache_torch:
model_cache_nltk:
# Created by the container itself
model_cache_huggingface:

0 comments on commit 7d51549

Please sign in to comment.