Skip to content

Dockerized Deployment

Michael Seaton edited this page May 4, 2020 · 2 revisions

Dockerized Deployment Approach

Docker and docker-compose are widely used tools that enable development, testing, and production instances of connected services to be deployed consistently and easily across platforms.

In the OpenMRS community today, there are no "official" Docker images or packages that are consistently adopted, though several groups are utilizing Docker across a combination of development, testing, and production servers.

There are many best practices that the RwandaEMR project should adopt in order to create high quality and useful Docker images and docker-compose files. There are also points in which it would be valuable to work within the OpenMRS community to create and maintain general purpose images and develop best practice processes that other groups may follow.

Approach:

Identify best practices from existing initiatives

Construct base docker file for OpenMRS

Construct docker-compose files:

  • These should be written to support the specific RwandaEMR deployment scenarios and appropriate services
  • Ideally these can be written as a model/template for standard community resources

Evolve deployment tools and processes to leverage these new packages

  • Create and maintain test server instances utilizing these Docker images and docker-compose files
  • Build tools on top of this to support deployment of distribution installs and updates (eg. rsync)

Follow-up Community Initiatives:

  • Modify the SDK to use packaging, docker files from above for create-distro and for developments
  • Modify the openmrs-distro-referenceapplication and openmrs-distro-platform to reflect these processes
Clone this wiki locally