web:
    image: richarvey/nginx-php-fpm
    links:
     - db
    ports:
     - "8080:80"
    volumes:
     - ./registration-system:/usr/share/nginx/html

db:
    build: docker
    dockerfile: DockerfileMariaDB
    environment:
     - MYSQL_DATABASE=fsfahrt
     - MYSQL_USER=fsfahrt
     - MYSQL_PASSWORD=9Lug*96q
    expose:
     - "3306"
    volumes:
     - ./mysql_data:/var/lib/mysql
     - ./registration-system/other/sqlDumps/init_20151004.sql:/dump.sql:ro

