Dockerize all the things

docker

(Robby O'Connor) #1

So we have two options for our docker container – it’s pretty easy – we just need a war file up on bintray, we’d host the container itself on Gitlab.

  1. https://github.com/psbrandt/openmrs-contrib-refappdockeralpine (I’m still getting my head around how we’re doing things – are we killing the refapp with fire?) – this container has platform + the refapp

  2. https://github.com/psbrandt/openmrs-platform-docker <- This is just platform

I’d ideally work off of the first – since I’d like to use alpine linux – it’s slim and small images means we don’t waste disk space.

Opinions?


(Venkata Jaswanth) #2

This is a pretty good idea. However, I have a few questions. After we create the image, how do we maintain the configuration? E.g., username, passwords etc., Do we make all of them environment variables and pass them when we create the container?


(Robby O'Connor) #3

Environment variables…that’s the way I’d do it.


(Robby O'Connor) #4