Production 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

Docker Production Hosting in CHT 4.x

Production hosting the CHT

Kubernetes Production Hosting in CHT 4.x

Production hosting the CHT