Skip to content
MarcelLuz edited this page Dec 14, 2017 · 12 revisions

You can install and run Zeta fully automised via docker-compose and also necessary for generator. This is the prefered way. First you have to install docker with docker-compose:


Note: If you are using Docker on Windows, you must allocate at least 3 to 4 GB of memory to the Docker machine.


  1. Install docker (tested with Docker version 1.12.3]
  2. Manage Docker as a non-root user
  3. Install docker-compose

After installation you have to checkout this repository on your local system.

Services

List of docker-compose services:

  • images Build generator images
  • api Webpage, Auth, REST API,..
  • mongodb NoSQL database
  • webapp Webapplication for generators

Getting Started

First all docker images need to be build.

docker-compose up images

To start all services simply run the below command.

docker-compose up -d api

On first run this can take up to 30min (thx to SBT). After this time Zeta is available via http://localhost:9000

Create a Generator

Two steps are required to create a generator.

  1. Create a Docker Image First you need to create a docker image for the execution of a generator. A few examples can be found in the images directory. An example how to build an image can be found in createDockerImages.sh, which is primarly used by the images service (docker-compose).

  2. Make the Docker Image available After an image was created we need to create a document in the database which link to the docker image. The created document will make the previous created docker image available for users.

Clone this wiki locally