Enable redis caching
This commit is contained in:
@@ -4,7 +4,7 @@ RUN set -ex; \
|
|||||||
\
|
\
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
imagemagick \
|
#imagemagick \
|
||||||
procps \
|
procps \
|
||||||
supervisor \
|
supervisor \
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user