From 3fbc9c86957b0c177005c33cded2e5b2f93acf6f Mon Sep 17 00:00:00 2001 From: VyacheslavSemin Date: Fri, 17 May 2024 07:14:59 +0000 Subject: [PATCH] And the ability to separate cache and service files --- docker-entrypoint.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index c86a847..9e4acf2 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -139,8 +139,17 @@ export NODE_CONFIG='{ }, "storage": { "fs": { + "folderPath": "/var/lib/'${COMPANY_NAME}'/documentserver/App_Data/cache/files/'${STORAGE_SUBDIRECTORY_NAME:-latest}'", "secretString": "'${SECURE_LINK_SECRET:-verysecretstring}'" - } + }, + "storageFolderName": "files/'${STORAGE_SUBDIRECTORY_NAME:-latest}'" + }, + "persistentStorage": { + "fs": { + "folderPath": "/var/lib/'${COMPANY_NAME}'/documentserver/App_Data/cache/files", + "secretString": "'${SECURE_LINK_SECRET:-verysecretstring}'" + }, + "storageFolderName": "files" } }'