summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLibravatar John Winston <59228178+winston0410@users.noreply.github.com>2024-08-08 13:00:19 +0100
committerLibravatar GitHub <noreply@github.com>2024-08-08 14:00:19 +0200
commit94c615d417948011430adb2ba9f8f5b99b962250 (patch)
tree175dcd1297302a9275ba6f7b007beaa2ba41433e /example
parent[feature] Use gifv type for short soundless mp4 videos (#3182) (diff)
downloadgotosocial-94c615d417948011430adb2ba9f8f5b99b962250.tar.xz
[feature] Add `db-postgres-connection-string` option (#3178)
* handle db-url * lint and add doc * add more doc * fix config test * return error * change name from db-url to db-postgres-connection-string
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml
index 1fca954dc..f359db5d5 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -248,6 +248,14 @@ db-sqlite-cache-size: "8MiB"
# Default: "30m"
db-sqlite-busy-timeout: "30m"
+# String. Full Database connection string
+#
+# This connection string is only applicable for Postgres. When this field is defined, all other database related configuration field will be ignored. This field allow you to fine tune connection with Postgres
+#
+# Examples: ["postgres://user:pass@localhost/db?search_path=gotosocial", "postgres://user:pass@localhost:9999/db"]
+# Default: ""
+db-postgres-connection-string: ""
+
cache:
# cache.memory-target sets a target limit that
# the application will try to keep it's caches