Changing the Directory for Bahmni Installation in docker-compose.yml

Hello everyone,

I am currently working on a project as part of my studies, where Bahmni is being installed on a server running as a virtual machine (VM). During the installation, I encountered an issue: The docker-compose.yml file is configured to install Bahmni in the /var directory. Unfortunately, there isn’t enough storage space available there, which causes the server to crash once the storage is full.

My question is: Is it possible to redirect the installation to a different directory without affecting Bahmni’s functionality? If so, what modifications would need to be made in the docker-compose.yml file, and are there any potential risks or considerations I should be aware of?

Thank you in advance for your help!

Best regards, Tobias Gallaun

1 Like

We are currently working on a project where we are installing Bahmni on a server running as a virtual machine (VM). During the process, we encountered an issue similar to the one described earlier: the docker-compose.yml file is set to install Bahmni in the /var directory, but this directory does not have sufficient storage space. As a result, the server crashes when the storage is full.

It is crucial for us to find a solution as soon as possible. Any guidance on how to redirect the installation to a different directory while ensuring Bahmni’s functionality remains unaffected would be greatly appreciated. Specific instructions or recommendations on modifying the docker-compose.yml file would be especially helpful. Looking forward to your prompt assistance. Thank you in advance.

Kind regards, Hanifeh Rasuli