Commit 18475148 authored by Daniel Seybold's avatar Daniel Seybold

inital commit, db-evaluator-colosseum + mariadb

parents
.env
.idea
*.iml
# Docker installation for Cloudiator
## Description
Installation of Cloudiator using Docker (docker-compose).
## Install
* install Docker: https://docs.docker.com/install/
* install docker-compose: https://docs.docker.com/compose/install/
* install git
* git clone the repository: git clone https://github.com/cloudiator/docker.git
* edit the env-template to e.g. change the API-Key used to secure the REST-endpoint
* cp the env-template to .env: cp env-template .env
* run docker-compose up
## Use
* REST-Server automatically starts on port 9000.
version: '2'
services:
colosseum-store:
image: mariadb:latest
restart: always
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=${DATABASE_ROOT_PW}
- MYSQL_DATABASE=${DATABASE_DB}
- MYSQL_USER=${DATABASE_USER}
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
colosseum-service:
depends_on:
- "colosseum-store"
image: dbevaluator:latest
restart: always
environment:
- MYSQL_USER=${DATABASE_USER}
- MYSQL_PW=${DATABASE_PASSWORD}
- MYSQL_DB=${DATABASE_DB}
- MYSQL_HOST=colosseum-store
ports:
- 9000:9000
\ No newline at end of file
DATABASE_USER=cloudiator
DATABASE_PASSWORD=secret2018
DATABASE_ROOT_PW=topsecret2018
DATABASE_DB=colosseum
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment