docker-compose.yml 849 Bytes
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 22
      - 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
    ports:
23 24 25 26 27 28 29 30 31 32 33 34
      - 9000:9000
  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