# Docker-Compose Configuration file For the Four Bahmni Components

**URL:** <https://talk.openmrs.org/t/docker-compose-configuration-file-for-the-four-bahmni-components/27372>\
**Category:** Bahmni\
**Tags:** docker\
**Created:** [March 12, 2020, 7:30pm UTC](https://talk.openmrs.org/t/docker-compose-configuration-file-for-the-four-bahmni-components/27372 "2020-03-12T19:30:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mozzy](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mozzy/32/11815_2.png) [@mozzy](https://talk.openmrs.org/u/mozzy)\
**Post date:** [March 12, 2020, 7:30pm UTC](https://talk.openmrs.org/t/docker-compose-configuration-file-for-the-four-bahmni-components/27372/1 "2020-03-12T19:30:04Z")

</div>

I want to install the whole complete set of Bahmni using Docker-compose that is

- OpenMRS
- OpenERP,
- dcm4chee
- OpenELIS

However looking at this [wiki page](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/20643954/Bahmni+Using+Docker) , it talks of this bahmni docker [repo](https://github.com/Bahmni/bahmni-docker-old) (which i think is being deprecated) and there is this other [repo](https://github.com/Bahmni/bahmni-docker) (which i think is being curently mainatined).

However the above wiki page only talks about installing only three components

- OpenMRS
- OpenERP,
- OpenELIS  
and it doesnt talk about dcm4chee (Radiology)

. I want have a Docker-Compose file ,where i will install all the four components at once as at the [demo](https://demo.mybahmni.org/)

cc @mksrom@angshuonline

---

<div class="post-metadata">

**Author:** ![mksrom](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksrom/32/20221_2.png) [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Post date:** [March 13, 2020, 7:47am UTC](https://talk.openmrs.org/t/docker-compose-configuration-file-for-the-four-bahmni-components/27372/2 "2020-03-13T07:47:50Z")

</div>

Hi @mozzy,!

> [@mozzy](#):
>
> I want to install the whole complete set of Bahmni using Docker-compose

Fair requirement. Bahmni does not _officially_ support being deployed as Docker containers. The official way is the Bahmni Ansible installer.

Some implementers including us Mekom, have made our own Bahmni monolithic image where basically we start a CentOS 7 base (with augmented privileges), run the installer on it with the right components (ERP, Reports…) and then commit the image for later use.

This does bring a fair amount of downsides, but has proved to work. For instance the image will be 2 to 4GB large. The memory and CPU use won’t be optimized, and many other issues.

* * *

That said, we are working on a Bahmni Docker project that would provide all Bahmni components as inidividual Docker Compose services. This is still a bit early to provide feedback on real use, and the project is a bit orientated to fit to Mekom’s requirements on how to deploy Bahmni distros. But that can be optimized.

It does not support **dcm4chee** though (yet!).

Feel free to have a look, and give it a try and a GitHub star! ⭐ 😃

> **[GitHub - mekomsolutions/bahmni-docker: Resources to build Docker images for...](https://github.com/mekomsolutions/bahmni-docker/)**
>
> Resources to build Docker images for Bahmni. Contribute to mekomsolutions/bahmni-docker development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![mozzy](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mozzy/32/11815_2.png) [@mozzy](https://talk.openmrs.org/u/mozzy)\
**Post date:** [March 13, 2020, 8:12am UTC](https://talk.openmrs.org/t/docker-compose-configuration-file-for-the-four-bahmni-components/27372/3 "2020-03-13T08:12:47Z")

</div>

Thanks @mksromI have looked at the the repo , its a better alternative atleast . 🥇

In other words to have the entire complete set out of the box , i got to go with the Virtual Box ,as for now . right ??

---

<div class="post-metadata">

**Author:** ![mksrom](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksrom/32/20221_2.png) [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Post date:** [March 13, 2020, 8:20am UTC](https://talk.openmrs.org/t/docker-compose-configuration-file-for-the-four-bahmni-components/27372/4 "2020-03-13T08:20:53Z")

</div>

> [@mozzy](#):
>
> In other words to have the entire complete set out of the box , i got to go with the Virtual Box ,as for now . right ??

Well I guess so.

Another alternative would be to contribute to the Bahmni Docker project and add the **dcm4chee** component.

---

<div class="post-metadata">

**Author:** ![mozzy](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mozzy/32/11815_2.png) [@mozzy](https://talk.openmrs.org/u/mozzy)\
**Post date:** [March 13, 2020, 8:25am UTC](https://talk.openmrs.org/t/docker-compose-configuration-file-for-the-four-bahmni-components/27372/5 "2020-03-13T08:25:54Z")

</div>

> [@mksrom](#):
>
> Another alternative would be to contribute to the Bahmni Docker project and add the **dcm4chee** component.

good point.
