docker-compose.yml 2.42 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"
18
    image: omi-registry.e-technik.uni-ulm.de/ds/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/cloudiator/application-deployment-library:latest
55 56 57 58 59 60
    restart: always
    environment:
      - COLOSSEUM_URI=colosseum-service
    ports:
      - 9091:8080
    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 85
  #    - 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:
      - 8888:8888    
Daniel Seybold's avatar
Daniel Seybold committed
86