docker-compose.yml 2.31 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
    command: mysqld --character-set-server=utf8  
13
14
15
  colosseum-service:
    depends_on:
      - "colosseum-store"
16
    image: omi-registry.e-technik.uni-ulm.de/ds/db-evaluator-colosseum:latest
17
18
19
20
21
22
    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
23
      - ETCD_HOST=colosseum-etcd
24
    ports:
25
      - 9000:9000
26
    volumes:
27
      - /var/log/db-evaluator-colosseum:/opt/docker-init/logs
28
29
30
31
32
33
34
  colosseum-phpmyadmin:
    depends_on:
      - "colosseum-store"
    image: phpmyadmin/phpmyadmin:4.7
    restart: always
    environment:
      - PMA_HOST=colosseum-store
35
36
37
      # uncomment to be enable auto login 
      #- PMA_USER=${DATABASE_USER}
      #- PMA_PASSWORD=${DATABASE_PASSWORD}
38
39
    ports:
      - 8080:80 
Daniel Seybold's avatar
Daniel Seybold committed
40
41
42
43
44
45
  colosseum-etcd:
    depends_on:
      - "colosseum-service"
    image: microbox/etcd:latest
    command: -name=colosseum-etcd
    restart: always
46
47
48
49
50
51
    ports:
      - 4001:4001
      - 7001:7001
  application-catalogue:
    depends_on:
      - "colosseum-service"
52
    image: omi-registry.e-technik.uni-ulm.de/cloudiator/application-deployment-library:latest
53
54
55
56
57
58
    restart: always
    environment:
      - COLOSSEUM_URI=colosseum-service
    ports:
      - 9091:8080
    volumes:
59
      - /var/log/application-deployment-library:/var/log/db-evaluator/    
Daniel Seybold's avatar
Daniel Seybold committed
60
61
62
63
64
  influxdb-store:
    image: influxdb:1.5.3
    restart: always
    environment:
      - INFLUXDB_DB=${INFLUXDB_DB}
65
  # uncomment to enable authentication    
Daniel Seybold's avatar
Daniel Seybold committed
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
  #    - 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
84