Full instance of OpenEMR in less than 2 minutes with OpenEMR on OpenShift - One-Command Deployment for Kubernetes

Hey OpenEMR community!

I’m excited to share a project I’ve been working on: OpenEMR 7.0.4 running on Red Hat OpenShift 4.20.x (Kubernetes 1.33.5) with a single-command deployment.

Demo:

screen

What it does:

  • Deploys OpenEMR with MariaDB and Redis on any OpenShift cluster, although it should work just fine on EKS, AKS, and generic Kubernetes, too.

  • Auto-configures on first run - no manual setup wizard needed

  • Survives pod restarts and cluster hibernation

  • Runs completely rootless within OpenShift’s security model

  • Works on the free Red Hat Developer Sandbox - great for demos, testing, and getting familiar with the leading enterprise-grade Kubernetes platform, OpenShift.

Tech stack:

  • CentOS 9 Stream + PHP 8.4 (Remi) + nginx

  • MariaDB 11.8 with persistent storage

  • Redis for session caching

Get started:

bash

./deploy-openemr.sh --deploy

That’s it. You’ll have a fully configured OpenEMR instance with TLS in about 2 minutes.

:link: GitHub: https://github.com/ryannix123/openemr-on-openshift

This is ideal for:

  • Healthcare orgs evaluating OpenShift/Kubernetes

  • Cloud-native deployments with auto-healing and scaling

  • DevOps teams wanting infrastructure-as-code

  • Anyone wanting to test OpenEMR quickly without local setup

Feedback, issues, and PRs welcome! Would love to hear if this is useful for the community.

Disclaimer: I work for Red Hat, but this is a personal project, not an official Red Hat product. The Developer Sandbox is a free service to test OpenShift, available to anyone.

4 Likes