mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
redis.config.php added
This commit is contained in:
parent
89334ac287
commit
384129366d
10 changed files with 110 additions and 0 deletions
11
.config/redis.config.php
Normal file
11
.config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
12.0/apache/config/redis.config.php
Normal file
11
12.0/apache/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
12.0/fpm-alpine/config/redis.config.php
Normal file
11
12.0/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
12.0/fpm/config/redis.config.php
Normal file
11
12.0/fpm/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
13.0/apache/config/redis.config.php
Normal file
11
13.0/apache/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
13.0/fpm-alpine/config/redis.config.php
Normal file
11
13.0/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
13.0/fpm/config/redis.config.php
Normal file
11
13.0/fpm/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
14.0/apache/config/redis.config.php
Normal file
11
14.0/apache/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
14.0/fpm-alpine/config/redis.config.php
Normal file
11
14.0/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
11
14.0/fpm/config/redis.config.php
Normal file
11
14.0/fpm/config/redis.config.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
if (getenv('REDIS_HOST')) {
|
||||||
|
$CONFIG = array (
|
||||||
|
'memcache.locking' => '\OC\Memcache\Redis',
|
||||||
|
'redis' => array(
|
||||||
|
'host' => getenv('REDIS_HOST'),
|
||||||
|
'port' => getenv('REDIS_PORT') ?: 6379,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue