Skip to content

Add Bahmni Lite as new community container - #7813

Draft
szaimen with Copilot wants to merge 2 commits into
mainfrom
copilot/add-bahmni-lite-container
Draft

Add Bahmni Lite as new community container#7813
szaimen with Copilot wants to merge 2 commits into
mainfrom
copilot/add-bahmni-lite-container

Conversation

Copilot AI commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Adds Bahmni Lite — an open-source EMR and hospital management system — as a community container bundle, with automatic Caddy subdomain routing and fail2ban brute-force protection.

New files

  • community-containers/bahmni-lite/bahmni-lite.json — 16-service stack covering the full Bahmni Lite profile:

    • Core EMR: bahmni/openmrs + pre-seeded bahmni/openmrs-db (Bahmni Lite schema), bahmni/clinic-config
    • Frontends: bahmni/bahmni-web, bahmni/bahmni-apps-frontend, bahmni/implementer-interface, bahmni/bahmni-lab, bahmni/appointments
    • Backend services: bahmni/reports + MySQL 8.0 DB, bahmni/patient-documents
    • Crater billing: bahmni/crater-php + bahmni/crater-nginx + MySQL 8.0 DB + bahmni/crater-atomfeed + MySQL 8.0 atomfeed DB
    • All stateful containers have backup_volumes; each MySQL container declares BAHMNI_MYSQL_ROOT_PASSWORD in its own secrets array; inter-service hostnames use nextcloud-aio-bahmni-* naming throughout
    • Dedicated nextcloud_aio_bahmni_openmrs_logs volume at /openmrs/data/logs enables external log monitoring
  • community-containers/bahmni-lite/readme.md — documents reverse proxy path mapping, Caddy/fail2ban integration, Crater admin credentials (shown via ui_secret), default OpenMRS Admin123 password with a prominent warning to change it post-install, and minimum resource requirements

Modified files

  • php/containers-schema.json — relaxed volume destination path pattern from [a-z_/.-]+[a-z0-9_/.-]+ to permit digits (required for /usr/local/apache2/htdocs/bahmni_config/ used by bahmni/bahmni-web)

  • community-containers/fail2ban/fail2ban.json — mounts nextcloud_aio_bahmni_openmrs_logs at /bahmni-openmrs; the upstream szaimen/aio-fail2ban image reads this path to auto-configure an OpenMRS login-failure jail

  • community-containers/caddy/readme.md — lists Bahmni Lite as auto-covered on bahmni.$NC_DOMAIN; adds CNAME setup note

  • community-containers/fail2ban/readme.md — lists Bahmni Lite as auto-covered

@szaimen szaimen added 2. developing Work in progress enhancement New feature or request labels Mar 24, 2026
@szaimen szaimen added this to the next milestone Mar 24, 2026
@szaimen szaimen modified the milestones: v12.9.1, next, v12.9.2 Apr 2, 2026
@szaimen szaimen modified the milestones: v13.0.0, next, v13.0.1, v13.0.2 Apr 30, 2026
@szaimen szaimen modified the milestones: v13.0.3, next May 7, 2026
@szaimen szaimen modified the milestones: v13.0.4, next, v13.1.0 May 15, 2026
@szaimen szaimen modified the milestones: v13.2.0, next, v13.2.1 Jun 4, 2026
@szaimen szaimen removed this from the v13.3.0 milestone Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants