0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-05-03 07:30:53 +02:00

Add REDIS_HOST_USER variable to specify a redis user (#2359)

Signed-off-by: hagene <hagene@uio.no>
This commit is contained in:
Hagen 2025-01-11 19:22:09 +01:00 committed by GitHub
parent 08ac24880c
commit 5b932e390e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -14,4 +14,8 @@ if (getenv('REDIS_HOST')) {
} elseif (getenv('REDIS_HOST')[0] != '/') {
$CONFIG['redis']['port'] = 6379;
}
if (getenv('REDIS_HOST_USER') !== false) {
$CONFIG['redis']['user'] = (string) getenv('REDIS_HOST_USER');
}
}