docker-compose.yml 578 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
version: '2'

services:
  colosseum-store:
    image: mariadb:latest
    restart: always
    environment:
      - MYSQL_RANDOM_ROOT_PASSWORD=${DATABASE_ROOT_PW}
      - 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:
      - 9000:9000