From 582c7506ce6e329610c699a5d9e7255cb7782ae1 Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Sun, 29 Jun 2025 13:27:11 +0800 Subject: [PATCH] Add Obsidian LiveSync --- obsidian-livesync/compose.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 obsidian-livesync/compose.yaml diff --git a/obsidian-livesync/compose.yaml b/obsidian-livesync/compose.yaml new file mode 100644 index 0000000..cca4641 --- /dev/null +++ b/obsidian-livesync/compose.yaml @@ -0,0 +1,26 @@ +obsidian-livesync: + container_name: obsidian-livesync + image: couchdb:3.3.3 + environment: + - PUID=99 + - PGID=100 + - UMASK=0022 + - TZ=Australia/Perth + - COUCHDB_USER=obsidian + - COUCHDB_PASSWORD=${COUCHDB_PASSWORD} + volumes: + - /mnt/docker/obsidian-livesync/data:/opt/couchdb/data + - /mnt/docker/obsidian-livesync/etc/local.d:/opt/couchdb/etc/local.d + networks: + - default + - proxy + restart: unless-stopped + labels: + caddy: obsidian-livesync.ferngarden.net + caddy.import: internal + caddy.reverse_proxy: '{{ upstreams 5984 }}' + +networks: + default: + proxy: + external: true \ No newline at end of file