Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tip

Bahmni LITE comes with CIEL Concept dictionary, which comprises of over 50K medical terms. This can slow down the first time initialization of DB. To use a decrease startup time, Bahmni publishes pre-laoded DBs based on mysql v5.6 and mysql v5.7. The default OpenMRS DB image of bahmni-lite points to the bahmni/openmrs-db:clinic-config-mysql5.6. This can be configured and changed as per your requirements.

DB Images pre-loaded

DB with CIEL dictionary, to decrease startup time, please follow these steps.

Use the with CIEL concepts are:

  • bahmni/openmrs-db:clinic-config-mysql5.6: OpenMRS DB based on mysql v5.6

  • bahmni/openmrs-db:clinic-config

docker image as OpenMRS DB to reduce the boot-up time of Bahmni Lite. Perform
  • -mysql5.7: OpenMRS DB based on mysql v5.7

These images can be used by changing the OPENMRS_DB_IMAGE_NAME variable in .env file of bahmni-lite

To start Bahmni with a fresh DB, perform the following one-time steps:

  1. Change the OPENMRS_DB_IMAGE_NAME variable to bahmni/openmrs-db:clinic-config mysql:5.6 or mysql:5.7 in .env file of Bahmni Lite

    Code Block
    OPENMRS_DB_IMAGE_NAME=bahmni/openmrs-db:clinic-config
    Un-comment
    mysql:5.6
  2. Comment the volume mounts for configuration_checksums in openmrs and openmrs-db openmrsdb service in the docker-compose.yml of Bahmni Lite. This is done so Doing this will make sure that the initializer module does not re-execute executes the changelogs which are already executed and loaded into the database.

  3. Check the atomfeed creds in .env file. They should be as follows:

    Code Block
    OPENMRS_ATOMFEED_USER=admin
    OPENMRS_ATOMFEED_PASSWORD=Admin123
  4. Start Bahmni Lite (that’s it!)

Info

The DB dump with CIEL data is maintained here on github: https://github.com/Bahmni/clinic-config/tree/main/package/docker/resources

Info

Running Bahmni on Docker

Page Tree
rootRunning Bahmni on Docker
startDepth1