# CouchDB

CouchDB is a self-hosted databases app. A Unraid Community Applications template for Apache CouchDB, a JSON document database that stores documents, exposes them over HTTP, and is commonly used as a self-hosted sync backend for offline-first apps. It is open source and self-hosted, installable on Kubernetes (Helm) and Unraid.

Canonical page: https://ourlocalhost.com/app/7285/couchdb

## Description

A Unraid Community Applications template for Apache CouchDB, a JSON document database that stores documents, exposes them over HTTP, and is commonly used as a self-hosted sync backend for offline-first apps.

## Platform availability

Available on 2 of 9 platforms: Unraid, Helm.

## Links

- Kubernetes (Helm): https://artifacthub.io/packages/helm/couchdb/couchdb
- Unraid: https://ca.unraid.net/apps/couchdb-064b10p1xt53et?q=couchdb
- Official website: https://couchdb.apache.org
- Documentation: https://docs.couchdb.org/en/latest/

## Common questions

### Can CouchDB be started as a single node and later expanded to a cluster?

Yes. A single-node instance can be upgraded to a cluster, where one logical CouchDB server can run across multiple servers or VMs.

### What should I do if CouchDB fails during first installation?

Follow the installation troubleshooting procedure and report the output of each step to the user mailing list or IRC if the problem remains.

### Can a self-hosted CouchDB server be used for Obsidian LiveSync?

Yes. A self-hosted CouchDB server can be used with Obsidian LiveSync, which provides real-time sync, chunk-level conflict merging, and native iOS support.

### What kinds of issues are common when operating CouchDB?

Common issues include database performance bottlenecks and replication failures.

## Alternatives

- ArangoDB: ArangoDB database is an open-source NoSQL solution with a flexible data model for documents, graphs, and key-values.
- FerretDB: FerretDB is an open-source MongoDB compatibility proxy for self-hosted stacks.
- Microsoft SQL Server: SQL Server delivers on Microsoft’s Data Platform vision by helping your organization manage your data by enabling you to store data from st…
- MongoDB: MongoDB is a cross-platform, open-source document-oriented NoSQL database that stores data in flexible, JSON-like BSON documents instead of…
- MySQL Community Edition: Free GPL database platform supporting SQL and NoSQL applications with InnoDB storage, replication, clustering, connectors, and cross-platfo…
- PostgreSQL: PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity.
- RavenDB: RavenDB is an open-source, transactionally consistent document database that stores application data in flexible records, helping developer…
- Redis: Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
- Valkey: Valkey is an open-source, high-performance in-memory key-value datastore forked from Redis.
- mariadb: MariaDB is a fast, open-source relational database server forked from MySQL by its original developers.

---
Source: Our Local Host (https://ourlocalhost.com/app/7285/couchdb), the self-hosted and open-source app directory.
