mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 16:44:09 +02:00
import from notify_push
This commit is contained in:
commit
28e84abd56
17 changed files with 792 additions and 0 deletions
28
tests/configs/redis.cluster.php
Normal file
28
tests/configs/redis.cluster.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
$CONFIG = [
|
||||
'overwrite.cli.url' => 'https://cloud.example.com',
|
||||
'dbtype' => 'mysql',
|
||||
'dbname' => 'nextcloud',
|
||||
'dbhost' => '127.0.0.1',
|
||||
'dbport' => '',
|
||||
'dbtableprefix' => 'oc_',
|
||||
'dbuser' => 'nextcloud',
|
||||
'dbpassword' => 'secret',
|
||||
'redis.cluster' =>
|
||||
array (
|
||||
'seeds' =>
|
||||
array (
|
||||
0 => 'db1:6380',
|
||||
1 => 'db1:6381',
|
||||
2 => 'db1:6382',
|
||||
3 => 'db2:6380',
|
||||
4 => 'db2:6381',
|
||||
5 => 'db2:6382',
|
||||
),
|
||||
'password' => 'xxx',
|
||||
'timeout' => 0.0,
|
||||
'read_timeout' => 0.0,
|
||||
'failover_mode' => \RedisCluster::FAILOVER_ERROR
|
||||
),
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue