# Docker support for EHR now available

**URL:** <https://forums.librehealth.io/t/docker-support-for-ehr-now-available/2703>\
**Category:** EHR\
**Tags:** docker\
**Created:** [October 31, 2018, 5:23am UTC](https://forums.librehealth.io/t/docker-support-for-ehr-now-available/2703 "2018-10-31T05:23:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [October 31, 2018, 5:23am UTC](https://forums.librehealth.io/t/docker-support-for-ehr-now-available/2703/1 "2018-10-31T05:23:03Z")

</div>

For those unaware, @tony [got a contract to containerize LibreHealth EHR](https://forums.librehealth.io/t/ehr-containerization-project/1317). We merged that work done by a contractor and I did a little bit of tweaking but the images are now pushed to [GitLab’s container registry](https://gitlab.com/librehealth/ehr/lh-ehr/container_registry) built using [GitLab CI](https://gitlab.com/librehealth/ehr/lh-ehr/pipelines).

There are two docker-compose files. The main one is the one for development, it has a [bind mount](https://docs.docker.com/storage/bind-mounts/) of the source tree, copies in sample patients from our [NHANES demo site](https://nhanes.librehealth.io), and is more or less just start it and go – so no more going through the set-up wizard! The other docker-compose file is for a production environment, the main difference being that source code is not mounted in the container, but is entirely contained, with only the database data and sites exposed as volumes, this is the same for development as well.

This should ease the pain a bit of setting things up for new developers, as well as make deployments easier. It’s not tested on windows but should work.

Give it a spin and [try it out](https://github.com/LibreHealthIO/lh-ehr/blob/master/docker/README.md)!

---

<div class="post-metadata">

**Author:** ![rhoyt](https://forums.librehealth.io/user_avatar/forums.librehealth.io/rhoyt/32/93_2.png) [@rhoyt](https://forums.librehealth.io/u/rhoyt)\
**Post date:** [November 3, 2018, 1:29pm UTC](https://forums.librehealth.io/t/docker-support-for-ehr-now-available/2703/2 "2018-11-03T13:29:19Z")

</div>

@robby @tony

As a non-techie I assume this will make installation of the educational version of LibreHealth easier?

---

<div class="post-metadata">

**Author:** ![tony](https://forums.librehealth.io/user_avatar/forums.librehealth.io/tony/32/42_2.png) [@tony](https://forums.librehealth.io/u/tony)\
**Post date:** [November 3, 2018, 4:23pm UTC](https://forums.librehealth.io/t/docker-support-for-ehr-now-available/2703/3 "2018-11-03T16:23:11Z")

</div>

not yet, this is the developer focused phase. next phase is cloud deploy support.

Tony McCormick Medical Information Integration
