services:
  omd:
    build: omd/
    ports:
        - "127.0.0.3:60080:80"
        - "127.0.0.3:60443:443"
        - "127.0.0.3:60557:6557"
    volumes:
        - ../../../:/thruk:ro
        - .:/scenario:ro
        - .:/test:ro
        - ../../../var/tmp:/var/tmp:rw
  backend:
    build: backend/
    ports: []
    volumes:
        - ../../../:/thruk:ro
        - .:/scenario:ro
        - .:/test:ro
        - ../../../var/tmp:/var/tmp:rw
  db:
     image: mariadb:11
     environment:
        MARIADB_ROOT_PASSWORD: thruk
        MARIADB_DATABASE: thruk
        MARIADB_USER: thruk
        MARIADB_PASSWORD: thruk
     ports:
        - "127.0.0.3:63306:3306"
