Skip to content

blairisme/docker-ethercis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Environment for EtherCIS

Docker environment for EtherCIS, an open source platform compatible with the openEHR standard.

How To Use

  • EtherCIS uses a RESTful API similar to the Ehrscape API.
  • The Docker image contains no data upon startup. Data can be imported into the application and Postgres database using the various queries described in the Ehrscape API.
  • For more information please refer to the official EtherCIS documentation.

Setup

  1. Install the latest version of Docker. 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 and modify the Dockerfile and docker-compose.yml postgres service accordingly.

Notes

License

  • The EtherCIS platform is licensed under the Apache License. A copy of the license can be found in the EtherCIS subfolder.
  • All other code is licensed under the MIT License.

About

Docker environment for EtherCIS, an open source platform compatible with the OpenEHR standard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%