komodo-stacks/stacks/obsidian-livesync
2026-03-27 18:17:57 +01:00
..
.env stacks/obsidian-livesync/.env hinzugefügt 2026-03-27 18:17:57 +01:00
compose.yaml fix: Remove default value from OBSIDIAN_USER env var 2026-03-27 13:22:11 +01:00
README.md Add obsidian-livesync stack - Self-hosted Obsidian Sync with CouchDB 2026-03-26 18:46:55 +01:00
stack.toml Add obsidian-livesync stack - Self-hosted Obsidian Sync with CouchDB 2026-03-26 18:46:55 +01:00

Obsidian LiveSync

📝 Self-hosted Obsidian Sync mit CouchDB

Deploy in Komodo

Pfad: stacks/obsidian-livesync/

Secrets

  • OBSIDIAN_USER - CouchDB Username (Default: obsidian)
  • OBSIDIAN_PASSWORD - CouchDB Password (openssl rand -base64 48)

Ports

  • 5984 - CouchDB API & Fauxton UI

Caddy

obsidian.komodo.nocci.it {
    reverse_proxy localhost:5984
}

Obsidian Plugin Setup

  1. Plugin installieren:

    • In Obsidian: Settings → Community Plugins → Browse
    • Suche: "Self-hosted LiveSync"
    • Installieren & Aktivieren
  2. Plugin konfigurieren:

    • Settings → Self-hosted LiveSync
    • CouchDB URI: https://obsidian.komodo.nocci.it
    • Username: Wie in OBSIDIAN_USER gesetzt
    • Password: Wie in OBSIDIAN_PASSWORD gesetzt
    • Encrypt: Optional (empfohlen für E2E-Verschlüsselung)
  3. Vault synchronisieren:

    • Plugin führt initiales Setup durch
    • Erstellt CouchDB-Datenbank automatisch
    • Sync startet automatisch

Features

  • Echtzeit-Sync zwischen allen Geräten
  • Konflikt-Auflösung (auto-merge)
  • E2E-Verschlüsselung optional
  • Settings/Plugins Sync möglich
  • Kostenlos - kein $5/Monat Abo

Fauxton UI (CouchDB Dashboard)

Zugriff auf die CouchDB Admin-Oberfläche:

http://localhost:5984/_utils

Login mit den gleichen Credentials.

Backup

Daten liegen in Docker Volume obsidian_data.

Backup-Pfad (typisch):

/var/lib/docker/volumes/obsidian-livesync_obsidian_data/_data

Troubleshooting

Sync funktioniert nicht:

  • Cloudflare Tunnel läuft?
  • Credentials korrekt?
  • Plugin auf "Sync enabled" gesetzt?

CouchDB nicht erreichbar:

docker logs obsidian-livesync
docker exec obsidian-livesync curl http://localhost:5984/_up