Docker environment for [EtherCIS] (https://github.com/ethercis/ethercis), an open source platform compatible with the openEHR standard.
docker-compose up
.INFO - com.ethercis.vehr.Launcher.start(140) | Server listening at:http://{container-ip}:8080/
.192.168.99.100
.localhost
.{docker-ip}:8888/{rest-query}
.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.
Most applications will require the usage of both an EMPI and EHR server. This can be done by following these instructions:
docker-compose up
.Instructions on how to deploy the Docker environment on an IBM Bluemix server can be found in this issue: https://github.com/alessfg/docker-ethercis/issues/3