# Docker build for Ripple OSI Demonstrator **Category:** [Ripple OSI](https://openhealthhub.org/c/ripple-osi/16) **Created:** 2016-03-07 15:31 UTC **Views:** 2023 **Replies:** 2 **URL:** https://openhealthhub.org/t/docker-build-for-ripple-osi-demonstrator/160 --- ## Post #1 by @adrian.wilkins Have added a module to the Ripple OSI build that creates an archive that can be used to start a set of Docker containers ; here's a pull request with the code. https://github.com/RippleOSI/Demonstrator/pull/1 This reduces the [lengthy instructions](http://dev.rippleosi.org/knowledgebase/server-installation-and-initial-setup/) required to set a copy of the service up to three steps (after [installing Docker and docker-compose](https://docs.docker.com/compose/install/)) 1. Unpack the tarball 1. From the directory, as root, execute * `MYSQL_ROOT_PASSWORD="choose_a_password" docker-compose up data` * Wait for the terminal scrollback to stop (depends on your bandwidth) * `` * `docker-compose up` * Add `-d` to run as a service --- ## Post #2 by @mayfield.g.kev How easy is it to work with Docker? We're looking at it and I was wondering if it's work turning that HAPI FHIR Server into a Docker container. --- ## Post #3 by @adrian.wilkins I got this going with less than a working day's effort, essentially from scratch with a level of experience with Docker of having previously created one container. The Tomcat layer was essentially * Take existing Tomcat container * Copy the WAR into it The only real complications were * The instructions by default assume you're putting all the processes on one machine - so you have to compensate for that by editing configs to use the container aliases * The application layer needs a lot of environment variables setting (which replace the Tomcat context) * The web app (like many of the new Web 2.0 things I have experimented with recently) wants to be the sole occupant of the root of a domain * This means you *must* add the Apache proxy layer on the top, even if you can just map the Tomcat HTTP port to port 80 --- **Canonical:** https://openhealthhub.org/t/docker-build-for-ripple-osi-demonstrator/160 **Original content:** https://openhealthhub.org/t/docker-build-for-ripple-osi-demonstrator/160