Add the bahmni-mart component to Bahmni Docker project

Description

Context

See Epic

BAH-781: Bahmni as multi-service Docker projectNeeds Assessment
Next step is to add the Mart components.

Scope

Scope of this card would be to build on existing docker-compose file to support bahmni-mart executable and metabase.

Bahmni Mart is composed of

  • Metabase, shipped as a container

  • A JAR file to periodically flatten the OpenMRS DB.

  • Postgres DB

 

  1. Investigate how the JAR app could be shipped as a Docker image

  2. Add the JAR and Metabase containers to the existing Bahmni EMR only Docker compose project.

 

Implementation Steps:

  • Use postgres:9.6-alpine as image for postgres and have a volume mount for persisting the data

  • Create a custom docker image for running mart jar as a cron

  • Use Metabase/Metabase:v0.31.2 as base image for metabase

Status

Assignee

Santosh Bhiravabhatla

Reporter

Romain Buisson

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None
Configure