diff --git a/obsidian-livesync/compose.yaml b/obsidian-livesync/compose.yaml new file mode 100644 index 0000000..fd80653 --- /dev/null +++ b/obsidian-livesync/compose.yaml @@ -0,0 +1,26 @@ +services: + obsidian-livesync: + image: couchdb:latest + container_name: obsidian-livesync + user: 1000:1000 + environment: + - COUCHDB_USER=obsidian + - COUCHDB_PASSWORD=${COUCHDB_PASSWORD} + volumes: + - /mnt/docker/obsidian-livesync/data:/opt/couchdb/data + - /mnt/docker/obsidian-livesync/config:/opt/couchdb/etc/local.d + ports: + - 5984:5984 + networks: + - default + - proxy + labels: + caddy: ols.ferngarden.net + caddy.import: internal + caddy.reverse_proxy: '{{ upstreams 5984 }}' + restart: unless-stopped + +networks: + default: + proxy: + external: true \ No newline at end of file diff --git a/resources.toml b/resources.toml index c7a0a39..3f1a522 100644 --- a/resources.toml +++ b/resources.toml @@ -411,6 +411,18 @@ MOLLY_VAPID_PRIVKEY=[[MOLLY_VAPID_PRIVKEY]] ## +[[stack]] +name = "obsidian-livesync" +[stack.config] +server = "docker.local" +linked_repo = "github" +run_directory = "obsidian-livesync" +environment = """ +COUCHDB_PASSWORD=[[OBSIDIAN_LIVESYNC_DB_PASSWORD]] +""" + +## + [[stack]] name = "paperless" tags = ["internal"]