mirror of
https://github.com/nextcloud/docker.git
synced 2025-02-03 01:58:27 +01:00
enable usage of REDIS_HOST_PASSWORD_FILE (#1325)
This commit is contained in:
parent
fe85a0ea08
commit
e2e521023f
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
|
|
||||||
echo "Configuring Redis as session handler"
|
echo "Configuring Redis as session handler"
|
||||||
{
|
{
|
||||||
|
file_env REDIS_HOST_PASSWORD
|
||||||
echo 'session.save_handler = redis'
|
echo 'session.save_handler = redis'
|
||||||
# check if redis host is an unix socket path
|
# check if redis host is an unix socket path
|
||||||
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
if [ "$(echo "$REDIS_HOST" | cut -c1-1)" = "/" ]; then
|
||||||
|
|
Loading…
Reference in a new issue