Skip to content

A docker container for the CouchDB instance required by obsidian-livesync

Notifications You must be signed in to change notification settings

GreenChiip/docker-obsidian-livesync-couchdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CouchDB Configuration for Obsidian LiveSync

This repository provides a Docker container for configuring CouchDB specifically for use with Obsidian LiveSync. It automates the setup process by parsing a Bash script (couchdb-init.sh) and updating CouchDB's configuration file (local.ini).

The container is built and published automatically via GitHub Actions.

Docker Hub Page

Features

  • Automated CouchDB Configuration: Extracts necessary settings for Obsidian LiveSync from the bash script created by the plugin maintainer.
  • Build time configuration: Configures couchDB at build time via configuration files instead of using couchDB APIs which simplifies the process.
  • Auto-Publishing: Docker images are automatically built and pushed to a container registry via GitHub Actions.

Pulling the Docker Image

To use the pre-built image, pull it from the container registry:

docker pull docker.io/docker-obsidian-livesync-couchdb:latest

Running the Container

Run the container with CouchDB configured for Obsidian LiveSync:

docker run -d \
  -e SERVER_DOMAIN=example.com \
  -e COUCHDB_USER=username \
  -e COUCHDB_PASSWORD=password \
  -e COUCHDB_DATABASE=obsidian \
  -p 5984:5984 \
  docker.io/oleduc/docker-obsidian-livesync-couchdb:master

Testing Configuration

To verify the updated configuration:

Open your CouchDB dashboard (http://example.com:5984/_utils).
Check that the settings are applied under /_node/_local/_config.

License

This repository is licensed under the MIT License. Contributions are welcome!

Credits

About

A docker container for the CouchDB instance required by obsidian-livesync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.9%
  • Dockerfile 11.1%