Enable redis caching

This commit is contained in:
2020-12-13 16:38:44 +00:00
parent d5a171b089
commit db1fc29638
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ RUN set -ex; \
\ \
apk add --no-cache \ apk add --no-cache \
ffmpeg \ ffmpeg \
imagemagick \ #imagemagick \
procps \ procps \
supervisor \ supervisor \
; ;

View File

@@ -149,6 +149,8 @@ $CONFIG = [
* * Use Redis or Memcached for distributed environments. * * Use Redis or Memcached for distributed environments.
* For the local cache (you can configure two) take APCu. * For the local cache (you can configure two) take APCu.
*/ */
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
/** /**
* Connection details for redis to use for memory caching in a single server configuration. * Connection details for redis to use for memory caching in a single server configuration.