Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.02 KB

File metadata and controls

41 lines (30 loc) · 1.02 KB

QMachine turnkey app for Docker

tl;dr

To run a test version of QMachine as a Docker stack:

$ docker build -t qmachine/qm-ruby-turnkey .
$ docker swarm init
$ docker stack deploy -c docker-compose.yml qmachine

To end the demo:

$ docker stack rm qmachine
$ docker swarm leave --force

Details

This project is a demonstration for packaging the QMachine turnkey app, which was originally written as a Heroku app, as a basic Docker container. The container is then run as part of a stack along with a PostgreSQL database running in a separate container. There is also a visualizer app included, courtesy of the Docker tutorial.

The image may also be pulled from Docker Hub via

$ docker pull qmachine/qm-ruby-turnkey

NOTE: This version is experimental and should not be used in production for security reasons.