CouchDB backend for the obsidian-livesync plugin. Syncs the life vault between desktop and mobile.

Details

Item Value
CT 133
IP 192.168.144.75
Port 5984
URL https://couchdb.janvv.nl
Database obsidian
Admin user opajan
Admin password /opt/homelab-docker/couchdb/.env on CT 133 (also at ~/dev/homelab-docker/couchdb/.env on Proxmox host)

Architecture

CouchDB runs in CT 133 as a Docker container. External access is via Cloudflare Tunnel → couchdb.janvv.nl. Internal access via Lanproxy at the same URL.

The life vault (~/Cloud/janvv/life/) on desktop still syncs to pCloud. LiveSync adds real-time mobile sync on top via CouchDB, independently.

Plugin configuration (obsidian-livesync)

Install the Self-hosted LiveSync plugin in Obsidian, then configure:

  • Remote database URI: https://couchdb.janvv.nl
  • Username: opajan
  • Password: see .env
  • Database name: obsidian

Use the plugin's Setup Wizard (gear icon → "Fetch from remote") to generate a setup URI/QR code for the mobile device.

Management

# Logs
pct exec 133 -- bash -c 'cd /opt/homelab-docker/couchdb && docker compose logs -f'

# Restart
pct exec 133 -- bash -c 'cd /opt/homelab-docker/couchdb && docker compose restart'

# Update image
pct exec 133 -- bash -c 'cd /opt/homelab-docker/couchdb && docker compose pull && docker compose up -d'

# Check DB health
curl -u opajan:<password> https://couchdb.janvv.nl/

Related