summaryrefslogtreecommitdiff
path: root/.config/example.yml
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-04-08 15:53:36 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-04-08 15:53:36 +0900
commit9114c8cb8e7d0bb0f686190d47c60591ac211f35 (patch)
tree153b2ca2f6f07a291704ea5a8b7a1e003655cce1 /.config/example.yml
parent:art (diff)
downloadsharkey-9114c8cb8e7d0bb0f686190d47c60591ac211f35.tar.gz
sharkey-9114c8cb8e7d0bb0f686190d47c60591ac211f35.tar.bz2
sharkey-9114c8cb8e7d0bb0f686190d47c60591ac211f35.zip
feat(backend): support replication of postgresql
Resolve #10205
Diffstat (limited to '.config/example.yml')
-rw-r--r--.config/example.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/example.yml b/.config/example.yml
index b61ed14809..57e2b56b78 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -51,6 +51,23 @@ db:
#extra:
# ssl: true
+dbReplications: false
+
+# You can configure any number of replicas here
+#dbSlaves:
+# -
+# host:
+# port:
+# db:
+# user:
+# pass:
+# -
+# host:
+# port:
+# db:
+# user:
+# pass:
+
# ┌─────────────────────┐
#───┘ Redis configuration └─────────────────────────────────────