services:
  php:
    build: .docker/php
    volumes:
      - .:/var/www
    environment:
      MONGODB_SERVER: 'mongodb://mongodb:27017'
    tty: true
    stdin_open: true

  mysql:
    image: mysql:8.0
    environment:
      MYSQL_ROOT_PASSWORD: de_root_password
      MYSQL_DATABASE: de_testing
      MYSQL_USER: de_user
      MYSQL_PASSWORD: de_password

  mongodb:
    image: mongo
