docker-compose.yml 1.07 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
26
    volumes:
      - /var/log/cloudiator:/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
44
  colosseum-etcd:
    depends_on:
      - "colosseum-service"
    image: microbox/etcd:latest
    command: -name=colosseum-etcd
    restart: always