diff options
author | Daniel <mail@danielkesselberg.de> | 2023-12-27 21:57:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-27 21:57:30 +0100 |
commit | b9b0ca6dea01477c6ba721a614df539b03d66817 (patch) | |
tree | a6e4b25a8a5cbba9f833a87d3c3f7a46a3c57cc1 /config | |
parent | 1fbfc4fc3e6a2c7b945419c88bc6e04f451d7099 (diff) | |
parent | 79c4986354da2c7dd102de21174114e7687daf98 (diff) | |
download | nextcloud-server-b9b0ca6dea01477c6ba721a614df539b03d66817.tar.gz nextcloud-server-b9b0ca6dea01477c6ba721a614df539b03d66817.zip |
Merge pull request #41998 from nextcloud/enh/read-replica
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 39cb0adea94..ae37c3aec92 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -152,6 +152,14 @@ $CONFIG = [ 'dbpersistent' => '', /** + * Specify read only replicas to be used by Nextcloud when querying the database + */ +'dbreplica' => [ + ['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''], + ['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''], +], + +/** * Indicates whether the Nextcloud instance was installed successfully; ``true`` * indicates a successful installation, and ``false`` indicates an unsuccessful * installation. |