Levelrail
Skip to content

Self-host Obsidian LiveSync (CouchDB) with Docker ​

A self-hosted CouchDB backend for the Obsidian LiveSync plugin, syncing your notes across devices.

This page describes the Levelrail template for Obsidian LiveSync (CouchDB) (Productivity). It deploys the services below as one Docker Compose app on your own server.

Project site: https://github.com/vrtmrz/obsidian-livesync/blob/main/docs/setup_own_server.md.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
couchdbcouchdb:3.5.25984
couchdb_data -> /opt/couchdb/data

Environment variables ​

ServiceVariableValue
couchdbCOUCHDB_PASSWORDGenerated at deploy
couchdbCOUCHDB_USERGenerated at deploy

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Obsidian LiveSync (CouchDB) with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Obsidian LiveSync (CouchDB). Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy obsidian-livesync --name my-obsidian-livesync

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Productivity templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.