Self Hosting in CHT 4.x

Details for hosting the CHT on self run infrastructure

Recommendations and considerations

Multi vs Single node couchdb requirements

For smaller deployments a single node CouchDB instance can be used, for larger deployments a multi-node CouchDB cluster is generally recommended

ConsiderationSingle node CouchDBMulti-node clustered CouchDB
Less than 4 000 users
More than 4 000 users
Less than 10 000 documents per day
More than 10 000 documents per day
Seamless upgrade with multi-node docker compose
Seamless upgrade with multi-node kubernetes/k3s

Cloud provider vs Bare metal

ConsiderationCloud providerBare Metal
Data needs to be in-country

Self Hosting in CHT 4.x - Single CouchDB Node

Self Hosting in CHT 4.x - Single CouchDB Node

Self Hosting in CHT 4.x - Multiple CouchDB Nodes on Docker Swarm

Hosting the CHT on self run infrastructure with horizontally scaled CouchDB nodes

Self Hosting in CHT 4.x - Multiple CouchDB Nodes on k3s on VMWare

Hosting the CHT on self run VMware infrastructure for multiple CHT-Core projects that utilize horizontally scaled CouchDB nodes