mirror of
https://github.com/MAGICGrants/truenas-apps.git
synced 2026-01-09 20:47:58 -05:00
feat(librechat): add support for additional storage mounts (#3690)
* feat(librechat): add support for additional storage mounts - Added loop to process additional_storage configuration - Allows users to mount custom directories beyond default ones - Each additional mount properly handled by permissions container - Bumped chart version to 1.0.7 Signed-off-by: Rafal Zielinski <sq4ind@gmail.com> * bump --------- Signed-off-by: Rafal Zielinski <sq4ind@gmail.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
@@ -48,4 +48,4 @@ sources:
|
||||
- https://github.com/LibreChat/LibreChat
|
||||
title: LibreChat
|
||||
train: community
|
||||
version: 1.0.7
|
||||
version: 1.0.8
|
||||
|
||||
@@ -59,6 +59,12 @@
|
||||
{% do c1.add_storage("/app/logs", values.storage.logs) %}
|
||||
{% do perm_container.add_or_skip_action("logs", values.storage.logs, perms_config) %}
|
||||
|
||||
{% for store in values.storage.additional_storage %}
|
||||
{% do c1.add_storage(store.mount_path, store) %}
|
||||
{% do rag.add_storage(store.mount_path, store) %}
|
||||
{% do perm_container.add_or_skip_action(store.mount_path, store, perm_config) %}
|
||||
{% endfor %}
|
||||
|
||||
{% do rag.set_user(values.run_as.user, values.run_as.group) %}
|
||||
{% do rag.healthcheck.set_test("http", {"port": values.consts.rag_port_number, "path": "/health"}) %}
|
||||
{% do rag.depends.add_dependency(values.consts.postgres_container_name, "service_healthy") %}
|
||||
|
||||
Reference in New Issue
Block a user