mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-29 12:33:20 +00:00
30 lines
876 B
INI
30 lines
876 B
INI
; CouchDB local configuration for Self-hosted LiveSync
|
|
; This file is volume-mounted into /opt/couchdb/etc/local.ini
|
|
;
|
|
; The couchdb-init service configures require_valid_user and CORS through the
|
|
; REST API during provisioning. Verify that the init service completes before
|
|
; exposing the database to clients.
|
|
|
|
[couchdb]
|
|
; Max size per document (50MB). Large enough for binary attachments.
|
|
max_document_size = 50000000
|
|
|
|
[chttpd]
|
|
; Bind on all interfaces.
|
|
bind_address = 0.0.0.0
|
|
port = 5984
|
|
; 4 GB max request (handles very large vaults)
|
|
max_http_request_size = 4294967296
|
|
|
|
[httpd]
|
|
WWW-Authenticate = Basic realm="couchdb"
|
|
|
|
[cors]
|
|
; These are the exact app origins Obsidian uses on desktop + mobile
|
|
credentials = true
|
|
origins = app://obsidian.md,capacitor://localhost,http://localhost
|
|
|
|
[log]
|
|
; Reduce noise in Docker logs — set to "debug" if troubleshooting
|
|
level = warning
|