-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Generate configuration templates #397
Comments
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.The text was updated successfully, but these errors were encountered: