A few days back I had created a topic that I was stuck with Bahmni Installation.
As I had stated earlier in that, I am still facing issues installing it.
Progress: I have downloaded OMOD files of 4 backend repos, setup the bahmni frontend build and in the yarn ci step within the ui subfolder, facing some potential warnings that aborts the build process and generates broken styling when deployed, troubleshooting that!
I know that the recommended approach is to use Docker Compose as stated in the Bahmni Wiki Documentation but that didn’t work smoothly either.
Can anyone tell me how to make the Docker Compose Approach work properly? Or is there any other approach to set it up in Docker? Any tips?
I am currently trying to pull all the dependencies locally and do it, building frontend alone in Docker as Ruby installation in windows is a issue. Using OpenMRS Standalone Platform v2.5.0 for uploading the OMOD backend files to it. This approach is hard, takes many days and can’t even say whether it’s a guaranteed approach to success or to implement it but since I don’t got any option, I am trying this difficult part.
Any bright ideas to do it way simpler? Please feel free to reply to this topic. I appreciate it. Thanks!
Thanks for sharing the detailed context — really appreciate the persistence you’ve shown so far.
You’re absolutely right that manually setting up Bahmni by uploading OMODs to the OpenMRS Standalone and building frontend assets outside of Docker is both time-consuming and brittle. Fortunately, the Docker Compose-based setup is indeed the most streamlined and repeatable way to get Bahmni running locally — especially for development.
Here are a few tips to help you get Docker Compose working smoothly:
Recommended Setup Approach: Bahmni Lite using Docker
git clone https://github.com/Bahmni/bahmni-docker.git
cd bahmni-docker
Create a branch for your Bahmni version:
Default is typically for the latest. For specific versions (e.g., bahmni-erp-implementations-1.0.0), switch to a new branch and change the image versions.
Start the environment:
Run the below script and choose the appropriate option.