docker-compose.yml 3.23 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
      - MYSQL_DATABASE=${DATABASE_DB}
      - MYSQL_USER=${DATABASE_USER}
      - MYSQL_PASSWORD=${DATABASE_PASSWORD}
12 13 14
    command: mysqld --character-set-server=utf8  --collation-server=utf8_general_ci
    volumes:
      - /var/lib/cloudiator/colosseum-store/:/var/lib/mysql
15 16 17
  colosseum-service:
    depends_on:
      - "colosseum-store"
Daniel Seybold's avatar
Daniel Seybold committed
18
    image: omi-registry.e-technik.uni-ulm.de/dbms-jungle-explorer/db-evaluator-colosseum:latest
19 20 21 22 23 24
    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
25
      - ETCD_HOST=colosseum-etcd
26
    ports:
27
      - 9000:9000
28
    volumes:
29
      - /var/log/db-evaluator-colosseum:/opt/docker-init/logs
30 31 32 33 34 35 36
  colosseum-phpmyadmin:
    depends_on:
      - "colosseum-store"
    image: phpmyadmin/phpmyadmin:4.7
    restart: always
    environment:
      - PMA_HOST=colosseum-store
37 38 39
      # uncomment to be enable auto login 
      #- PMA_USER=${DATABASE_USER}
      #- PMA_PASSWORD=${DATABASE_PASSWORD}
40 41
    ports:
      - 8080:80 
Daniel Seybold's avatar
Daniel Seybold committed
42 43 44 45 46 47
  colosseum-etcd:
    depends_on:
      - "colosseum-service"
    image: microbox/etcd:latest
    command: -name=colosseum-etcd
    restart: always
48 49 50 51 52 53
    ports:
      - 4001:4001
      - 7001:7001
  application-catalogue:
    depends_on:
      - "colosseum-service"
54
    image: omi-registry.e-technik.uni-ulm.de/dbms-jungle-explorer/dbms-catalogue:latest
55 56 57 58
    restart: always
    environment:
      - COLOSSEUM_URI=colosseum-service
    ports:
59
      - 9091:9091
60
    volumes:
61
      - /var/log/application-deployment-library:/var/log/db-evaluator/    
Daniel Seybold's avatar
Daniel Seybold committed
62 63 64 65 66
  influxdb-store:
    image: influxdb:1.5.3
    restart: always
    environment:
      - INFLUXDB_DB=${INFLUXDB_DB}
67
  # uncomment to enable authentication    
Daniel Seybold's avatar
Daniel Seybold committed
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
  #    - INFLUXDB_HTTP_AUTH_ENABLED=true
  #    - INFLUXDB_USER=${INFLUXDB_USER}
  #    - INFLUXDB_USER_PASSWORD=${INFLUXDB_PW}
  #    - INFLUXDB_ADMIN_USER=${INFLUXDB_ADMIN}
  #    - INFLUXDB_ADMIN_PASSWORD=${INFLUXDB_ADMIN_PW}
    ports:
      - 8086:8086  
  chronograf-service:
    image: chronograf:1.5.0
    restart: always
    depends_on:
      - "influxdb-store"
    environment:
      - INFLUXDB_URL=http://${PUBLIC_IP}:8086
 #     - INFLUXDB_USERNAME=${INFLUXDB_USER}
 #     - INFLUXDB_PASSWORD=${INFLUXDB_PW}
    ports:
85 86 87 88
      - 8888:8888
  evaluation-orchestrator:
    depends_on:
      - "application-catalogue"
89
    image: omi-registry.e-technik.uni-ulm.de/dbms-jungle-explorer/evaluation-orchestrator:latest
90 91 92 93 94 95 96 97 98
    restart: always
    environment:
      - COLOSSEUM_URI=colosseum-service
      - APPLICATION_DEPLOYMENT_LIBRARY_URI=application-catalogue
      - WORKLOAD_API_URI=${WORKLOAD_API_IP}
    ports:
      - 8282:8282
    volumes:
      - /var/log/evaluation-orchestrator/:/var/log/evaluation-orchestrator/ 
Daniel Seybold's avatar
Daniel Seybold committed
99 100 101 102 103
      - /opt/evaluation-results/:/opt/evaluation-results/  
  portainer:
    image: portainer/portainer
    ports:
      - "9001:9000"
104
    command: -H unix:///var/run/docker.sock --admin-password-file /app/portainer.conf
Daniel Seybold's avatar
Daniel Seybold committed
105 106
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
107 108
      - /opt/portainer/data:/data  
      - $PWD:/app        
Daniel Seybold's avatar
Daniel Seybold committed
109