From 11742478d5870a95571d213926592828512e99fe Mon Sep 17 00:00:00 2001 From: Yury <994443+EcksDy@users.noreply.github.com> Date: Sun, 26 Oct 2025 05:04:46 +0400 Subject: [PATCH] Setup defaults according to obsidian-livesync requirements (#445) --- blueprints/obsidian-livesync/template.toml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/blueprints/obsidian-livesync/template.toml b/blueprints/obsidian-livesync/template.toml index 165b5392..abc6f58b 100644 --- a/blueprints/obsidian-livesync/template.toml +++ b/blueprints/obsidian-livesync/template.toml @@ -17,6 +17,21 @@ COUCHDB_PASSWORD = "${COUCHDB_PASSWORD}" [[config.mounts]] filePath = "local.ini" content = """ +[couchdb] +single_node = true +max_document_size = 50000000 + +[httpd] +WWW-Authenticate = Basic realm="couchdb" +enable_cors = true + [chttpd] bind_address = 0.0.0.0 -""" \ No newline at end of file +enable_cors = true +require_valid_user = true +max_http_request_size = 4294967296 + +[cors] +credentials = true +origins = app://obsidian.md,capacitor://localhost,http://localhost, +"""