services: couchdb-obsidian-livesync: container_name: obsidian-livesync # image: couchdb:3.3.3 # Specify a stable CouchDB version image: 'docker.io/oleduc/docker-obsidian-livesync-couchdb:master' environment: # User and password for CouchDB admin access - COUCHDB_USER=miker - COUCHDB_PASSWORD=tw9222dvO91ZHb - COUCHDB_DATABASE=obsidian - SERVER_DOMAIN=https://obsidian.mikemcfetridge.com # Optional: Set PUID, PGID, UMASK, and TZ for user/group permissions and timezone - PUID=1000 - PGID=1000 - UMASK=0022 - TZ=America/New_York # Adjust timezone as needed volumes: # Mount a local directory for CouchDB data persistence - /home/miker/docker/obsidian/data:/opt/couchdb/data # Mount a local directory for CouchDB configuration files - /home/miker/docker/obsidian/config:/opt/couchdb/etc/local.d ports: # Map CouchDB's default port 5984 to the host machine - "5984:5984" restart: unless-stopped # Ensure the container restarts automatically unless explicitly stopped networks: - main networks: main: external: true # Tells Compose not to create this network