Appointments Configuration (docker)

Bahmni/appointments image runs the frontend for Bahmni Appointments Scheduling. The backend APIs for this application are running in OpenMRS. The image is built and published using Github Actions from openmrs-module-appointments-frontend repository.

Environment Configurations

Variable Name

Description

Variable Name

Description

APPOINTMENTS_IMAGE_TAG

This value specifies which image version needs to be used for appointments service. List of tags can be found at bahmni/appointments - Tags .

APPOINTMENTS_PATH

Set this to the directory path where you have cloned openmrs-module-appointments-frontend repository. Needed only for development purposes.

 

Development on Appointments Frontend

When you want to develop on appointments frontend code, follow the below steps.

  1. Clone the openmrs-module-appointments-frontend repository in your local machine.

  2. Follow the instructions in the README of the repository to install the required tools and dependencies.

  3. Copy the path of openmrs-module-appointments-frontend directory and set it to APPOINTMENTS_PATH environment variable in the .env file. Do not add / at the last.

  4. Now open the docker-compose.yml file and in the appointments service uncomment the volumes section.

  5. Start / Recreate appointments service by doing docker-compose up -d appointments

  6. For every change you make, build the appointments code and the changes will reflect on refresh of the browser.

 

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)