From f754da9ea0effade2b264ad18bd2f31a59844d27 Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 19 Jan 2024 17:56:27 +0000 Subject: [PATCH] Update app.sh --- app.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app.sh b/app.sh index 4b518ca..e972691 100755 --- a/app.sh +++ b/app.sh @@ -49,8 +49,19 @@ esac "port": ${STORAGE_PORT:-6379}, "db": ${STORAGE_DB:-2}, "expire": ${STORAGE_EXPIRE:-2592000} - # Add any additional configurations needed for other storage types + + }, + + "storage": { + "type": "${STORAGE_TYPE:-redis}", + "path": "${STORAGE_PATH:-./data}", + "host": "${STORAGE_HOST:-haste_redis}", + "port": ${STORAGE_PORT:-6379}, + "db": ${STORAGE_DB:-2}, + "expire": ${STORAGE_EXPIRE:-2592000} + }, + "documents": { "about": "./about.md" }