summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKnallbertLp <KnallbertLp@users.noreply.github.com>2020-12-20 23:20:51 +0100
committerGitHub <noreply@github.com>2020-12-20 22:20:51 +0000
commite2e521023f955a4ef8db66be441b3afff281d46e (patch)
tree2f8b4c279a64952786a727f9ec6407666010042a
parentfe85a0ea08ed9c36cfbf2ced5f5833858ae013c4 (diff)
enable usage of REDIS_HOST_PASSWORD_FILE (#1325)
-rwxr-xr-xdocker-entrypoint.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index b9ec5fc5..bee572c2 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
echo "Configuring Redis as session handler"
{
+ file_env REDIS_HOST_PASSWORD
echo 'session.save_handler = redis'
# check if redis host is an unix socket path
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then