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 |
---|---|
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.
Clone the openmrs-module-appointments-frontend repository in your local machine.
Follow the instructions in the README of the repository to install the required tools and dependencies.
Copy the path of
openmrs-module-appointments-frontend
directory and set it toAPPOINTMENTS_PATH
environment variable in the .env file. Do not add / at the last.Now open the docker-compose.yml file and in the appointments service uncomment the volumes section.
Start / Recreate appointments service by doing
docker-compose up -d appointments
For every change you make, build the appointments code and the changes will reflect on refresh of the browser.
Related pages
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)