-
Notifications
You must be signed in to change notification settings - Fork 4
Docker
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.
- Install docker (tested with Docker version 1.12.3]
- Manage Docker as a non-root user
- Install docker-compose
After installation you have to checkout this repository on your local system.
List of docker-compose services:
- images Build generator images
- api Webpage, Auth, REST API,..
- mongodb NoSQL database
- webapp Webapplication for generators
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
Two steps are required to create a generator.
-
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).
-
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.