# CouchDB-v2.x

CouchDB-v2.x is a self-hosted databases app. Apache CouchDB is an open-source, document-oriented NoSQL database that stores data as JSON documents with a simple HTTP/JSON interface, built-in replication, and full-text search. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/374/couchdb-v2-x

## Description

Apache CouchDB is an open-source, document-oriented NoSQL database that stores data as JSON documents with a simple HTTP/JSON interface, built-in replication, and full-text search. This image ships the v2.x line for self-hosted users who want a lightweight, schemaless document store to back their applications.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

12/100 (Low), based on 2 of 4 factors.
- Maintained: 0 (GitHub repository no longer exists)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Official website: https://couchdb.apache.org
- Documentation: https://docs.couchdb.org/en/stable
- Docker Hub: https://hub.docker.com/r/apache/couchdb/
- Unraid: https://ca.unraid.net/apps/couchdb-v2-x-093nd2b16pesq7?q=CouchDB-v2.x

## Common questions

### Should the CouchDB service be started as root in a self-hosted setup?

No, run it from a dedicated couchdb account rather than root. This avoids permission problems with CouchDB's data files and settings.

### Which port must be reachable for other machines to use the default CouchDB web/API?

Open port 5984 on your firewall. It is the default web/API port, and blocking it prevents client or browser requests from connecting.

### Can a single-node CouchDB deployment later be turned into a cluster?

Yes. CouchDB can start as a single node, and more demanding projects can seamlessly upgrade to a cluster.

### Is a self-hosted CouchDB instance the preferred backend for the Self-hosted LiveSync plugin?

Yes. The plugin supports various backends, but a self-hosted CouchDB instance is the primary recommended architecture.

### If Obsidian LiveSync says CouchDB settings are wrong or suboptimal, can it correct them?

Yes. Obsidian LiveSync can provide buttons to fix the individual config options.

## Alternatives

- 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/374/couchdb-v2-x), the self-hosted and open-source app directory.
