Skip to content

Commit

Permalink
nextcloud: allow to configure redis user
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen committed Jan 13, 2025
1 parent c1f1207 commit 09a0e28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Containers/nextcloud/config/redis.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@
if (getenv('REDIS_DB_INDEX')) {
$CONFIG['redis']['dbindex'] = (int) getenv('REDIS_DB_INDEX');
}

if (getenv('REDIS_USER') !== false) {
$CONFIG['redis']['user'] = getenv('REDIS_USER');
}
}

0 comments on commit 09a0e28

Please sign in to comment.