obsidian-livesync: added obsidian-livesync

This commit is contained in:
2025-11-22 00:01:28 +01:00
parent 63adb4d754
commit 3a5498aa0a
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
services:
couchdb:
image: couchdb:3.5.1
container_name: couchdb
env_file: .env
volumes:
- couchdb-data:/opt/couchdb/data
- couchdb-etc:/opt/couchdb/etc/local.d
networks:
- default
- proxy
ports:
- 5984
labels:
- "traefik.enable=true"
- "traefik.http.routers.couchdb.rule=Host(`obsidian-livesync.lan`)"
restart: unless-stopped
networks:
proxy:
external: true
name: proxy
volumes:
couchdb-data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/obsidian-livesync/data'
couchdb-etc:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/obsidian-livesync/etc'