diff options
author | J0WI <J0WI@users.noreply.github.com> | 2021-08-05 22:32:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 22:32:35 +0000 |
commit | 3a1f59b21c49650271b1ce0a50833d51806ec57e (patch) | |
tree | 427db201fef83431885f122f0d33901dfe96af58 /22.0/fpm-alpine/config/redis.config.php | |
parent | 5d01cebeab368a6f528570236fee454448a24297 (diff) |
Adopt new version scheme (#1553)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to '22.0/fpm-alpine/config/redis.config.php')
-rw-r--r-- | 22.0/fpm-alpine/config/redis.config.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/22.0/fpm-alpine/config/redis.config.php b/22.0/fpm-alpine/config/redis.config.php deleted file mode 100644 index a5fde3c7..00000000 --- a/22.0/fpm-alpine/config/redis.config.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -if (getenv('REDIS_HOST')) { - $CONFIG = array( - 'memcache.distributed' => '\OC\Memcache\Redis', - 'memcache.locking' => '\OC\Memcache\Redis', - 'redis' => array( - 'host' => getenv('REDIS_HOST'), - 'password' => (string) getenv('REDIS_HOST_PASSWORD'), - ), - ); - - if (getenv('REDIS_HOST_PORT') !== false) { - $CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT'); - } elseif (getenv('REDIS_HOST')[0] != '/') { - $CONFIG['redis']['port'] = 6379; - } -} |