Giter VIP home page Giter VIP logo

docker-ethercis's Introduction

Docker Environment for EtherCIS

Docker environment for [EtherCIS] (https://github.com/ethercis/ethercis), an open source platform compatible with the openEHR standard.

How To Use

Setup

  1. Install the latest version of [Docker] (https://www.docker.com). Docker Compose version 2 is required.
  2. Clone the repository.
  3. Open a terminal in the directory where you cloned the repo.
  4. Run docker-compose up.
  5. Once the startup process completes your terminal should display a message saying:
  • INFO - com.ethercis.vehr.Launcher.start(140) | Server listening at:http://{container-ip}:8080/.
  1. Find the ip of your Docker environment:
  • If you are using Docker toolbox this tends to be 192.168.99.100.
  • If you are using a native Docker installation it will be localhost.
  1. You can now connect to the RESTful API via {docker-ip}:8888/{rest-query}.

Data Storage and Persistence

The postgres Docker container stores data internally at /var/lib/postgresql/data. By default, this volume is not mapped to any volume in the host OS. If you destroy the Docker container the data will only be persisted within a hidden volume partition; which will result in new containers not being able to access the database data. This is by design as local volume partitions are dependent on the host OS and thus specifing a particular volume can lead to undesired errors. To map the volume where data is to be persisted follow the [Docker volume instructions] (https://docs.docker.com/engine/tutorials/dockervolumes) and modify the Dockerfile and docker-compose.yml postgres service accordingly.

Setup with OpenEMPI

Most applications will require the usage of both an EMPI and EHR server. This can be done by following these instructions:

  1. Clone this repository and the [Docker OpenEMPI repository] (https://github.com/alessfg/docker-openempi) into the same directory.
  2. Download the docker-compose gist available [here] (https://gist.github.com/alessfg/f9c4f330850858b9afaea33de5595774) into the directory root.
  3. Run docker-compose up.

Deployment on IBM Bluemix

Instructions on how to deploy the Docker environment on an IBM Bluemix server can be found in this issue: alessfg#3

Notes

License

docker-ethercis's People

Contributors

alessfg avatar rvaughan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.