mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-16 11:25:09 +01:00
Redis memcache.distributed added
Signed-off-by: marceljd <support@dihosting.ch>
This commit is contained in:
parent
88ed016151
commit
06ed30247f
18 changed files with 150 additions and 0 deletions
12
13.0-rc/apache/config/redis.config.php
Normal file
12
13.0-rc/apache/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
13.0-rc/fpm-alpine/config/redis.config.php
Normal file
12
13.0-rc/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
13.0-rc/fpm/config/redis.config.php
Normal file
12
13.0-rc/fpm/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
|
|
12
14.0-rc/apache/config/redis.config.php
Normal file
12
14.0-rc/apache/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
14.0-rc/fpm-alpine/config/redis.config.php
Normal file
12
14.0-rc/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
14.0-rc/fpm/config/redis.config.php
Normal file
12
14.0-rc/fpm/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
|
|
12
15.0-rc/apache/config/redis.config.php
Normal file
12
15.0-rc/apache/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
15.0-rc/fpm-alpine/config/redis.config.php
Normal file
12
15.0-rc/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
15.0-rc/fpm/config/redis.config.php
Normal file
12
15.0-rc/fpm/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
15.0/apache/config/redis.config.php
Normal file
12
15.0/apache/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
15.0/fpm-alpine/config/redis.config.php
Normal file
12
15.0/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
12
15.0/fpm/config/redis.config.php
Normal file
12
15.0/fpm/config/redis.config.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue