mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 16:44:09 +02:00
test for single node cluster
This commit is contained in:
parent
b270299d79
commit
d62e94fd1c
2 changed files with 32 additions and 1 deletions
23
tests/configs/redis_cluster_single.php
Normal file
23
tests/configs/redis_cluster_single.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?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',
|
||||
),
|
||||
'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