docker-compose.yml 1.41 KB
Newer Older
1 2 3 4 5 6 7
version: '2'

services:
  colosseum-store:
    image: mariadb:latest
    restart: always
    environment:
8
      - MYSQL_ROOT_PASSWORD=${DATABASE_ROOT_PW}
9 10 11 12 13 14 15 16 17 18 19 20 21
      - 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
Daniel Seybold's avatar
Daniel Seybold committed
22
      - ETCD_HOST=colosseum-etcd
23
    ports:
24
      - 9000:9000
25
    volumes:
26
      - /var/log/colosseum:/opt/docker-init/logs
27 28 29 30 31 32 33 34 35 36 37
  colosseum-phpmyadmin:
    depends_on:
      - "colosseum-store"
    image: phpmyadmin/phpmyadmin:4.7
    restart: always
    environment:
      - PMA_HOST=colosseum-store
      - PMA_USER=${DATABASE_USER}
      - PMA_PASSWORD=${DATABASE_PASSWORD}
    ports:
      - 8080:80 
Daniel Seybold's avatar
Daniel Seybold committed
38 39 40 41 42 43
  colosseum-etcd:
    depends_on:
      - "colosseum-service"
    image: microbox/etcd:latest
    command: -name=colosseum-etcd
    restart: always
44 45 46 47 48 49 50 51 52 53 54 55 56 57
    ports:
      - 4001:4001
      - 7001:7001
  application-catalogue:
    depends_on:
      - "colosseum-service"
    image: application-catalogue:latest
    restart: always
    environment:
      - COLOSSEUM_URI=colosseum-service
    ports:
      - 9091:8080
    volumes:
      - /var/log/application-catalogue:/var/log/db-evaluator/    
Daniel Seybold's avatar
Daniel Seybold committed
58