mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 08:14:46 +02:00
Config redis and smtp using env vars.
This commit is contained in:
parent
bb42fcfaed
commit
e2c8feefde
20 changed files with 250 additions and 0 deletions
10
12.0/fpm-alpine/config/redis.config.php
Normal file
10
12.0/fpm-alpine/config/redis.config.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?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
Add a link
Reference in a new issue