Closed taos15 closed 3 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Here is an example of how a redis config might look. Open for suggestions.
// redis.config.php
<?php
$rdHost = getenv('RDHOST');
if ($rdHost !== false) {
$CONFIG = array(
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' => array(
'host' => $rdHost,
'port' => getenv('RDPORT'),
'timeout' => 0.0,
'password' => getenv('RDPASS'), // Optional, if not defined no password will be used.
),
);
}
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity
Is this a new feature request?
Wanted change
As a system admin I want configuration templates to be generated when the install the application So that I can use them as refereces to futher modufy the application
Reason for change
Scenario 1:
Scenario 2:
Proposed code change
I propose to:
someConfig.sample.config.php
with the most used configutaions (databases, redis cache, imaginary, etc) as well as the template of the initail config , so we see what values were used during the instalation. Multi-files configuration are prefered*conf.example.php
based on enviropment variables.