Hosting > 3.x > Production Hosting - Docker
Hosting the CHT on self run infrastructure
For production CHT deployments, Linux is recommended, with Ubuntu the most commonly used. For App Developer Hosting, Linux or macOS may be used. Windows can be used for either, but without recommendation.
Per the Kubernetes vs Docker page, CHT Core can be deployed with either Docker or Kubernetes.
CHT 3.x is End-of-Life and us no longer supported. All requirements below apply to CHT 4.x.
This leverages Docker and requires:
docker
or current version of Docker Desktop both of which include docker compose
. Note that the older docker-compose
is no longer supported.docker
and docker compose
This guide refers to “Kubernetes”, but Medic recommends a lightweight orchestrator called K3s for bare-metal hosts. The requirements below refer to K3s deployments but can be translated to other Kubernetes hosting. For example, for cloud hosting, we recommend Amazon Elastic Kubernetes Service (EKS) and we’ve also assisted in a large K3s deployment based on VMWare.
Be sure to see the cht-deploy
script that leverage the helm
application.
helm
applicationdocker
(used to bootstrap K3s)* During some upgrades, up to 3x current space used by CouchDB can be needed
In addition to the hosting requirements, system administrators should have a basic understanding of command line interface, Kubernetes, docker, container orchestration, deployment, databases (CouchDB, Postgres), networking components (TLS, IP addresses, DNS).
Hosting the CHT on self run infrastructure
Hosting the CHT on Amazon EC2
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.