A Docker container that provides a Docker container for configuring CouchDB specifically for use wit
100K+
This repository provides a Docker container for configuring CouchDB specifically for use with Obsidian LiveSync. It automates the setup process by parsing the bash script (couchdb-init.sh) provided by obsidian-livesync's maintainer and updating CouchDB's configuration file (local.ini) according to the settings the plugin needs.
The container is built and published automatically via GitHub Actions.
To verify the updated configuration:
Open your CouchDB dashboard (http://example.com:5984/_utils).
Check that the settings are applied under /_node/_local/_config.
This project uses a sophisticated CI/CD pipeline to ensure reliable Docker image builds and releases:
linux/amd64 and linux/arm64 platformsThe workflow consists of two main jobs:
Build Job (runs on push/PR):
Publish Job (runs only on GitHub releases):
When you create a GitHub release (e.g., v1.2.3), the following tags are automatically created:
latest: Latest stable release1.2.3: Exact version from release tag1.2: Major.minor version1: Major version onlyThis repository is integrated with Docker Hub at oleduc/docker-obsidian-livesync-couchdb:
Architecture-specific tags are automatically handled by Docker's manifest lists.
To use the pre-built image, pull it from the container registry:
docker pull docker.io/oleduc/docker-obsidian-livesync-couchdb:latest
Multi-Architecture Support: This image supports both AMD64 (x86_64) and ARM64 architectures, including Apple Silicon Macs, ARM-based servers, and other ARM64 devices. Docker will automatically pull the correct architecture for your platform.
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
Or via docker-compose
version: "3.8"
services:
couchdb-obsidian-livesync:
image: docker.io/oleduc/docker-obsidian-livesync-couchdb:master
container_name: couchdb-obsidian-livesync
restart: always
environment:
SERVER_URL: ${SERVER_URL}
COUCHDB_USER: ${COUCHDB_USER}
COUCHDB_PASSWORD: ${COUCHDB_PASSWORD}
COUCHDB_DATABASE: ${COUCHDB_DATABASE}
ports:
- "${COUCHDB_PORT:-5984}:5984"
volumes:
- ${COUCHDB_DATA}:/opt/couchdb/data
This repository is licensed under the MIT License. Contributions are welcome!
Content type
Image
Digest
sha256:08a65821f…
Size
179.4 MB
Last updated
3 months ago
docker pull oleduc/docker-obsidian-livesync-couchdb