version: '2'
services:
    web:
        build:
            context: ./
            dockerfile: deploy/web.docker
        volumes:
            - ./:/var/www
        ports:
            - "8080:80"
        networks:
            - app-network
    app:
        build:
            context: ./
            dockerfile: deploy/app.docker
        volumes:
            - ./:/var/www
        environment:
            - "DB_PORT=3306"
            - "DB_HOST=database"
        networks:
            - app-network
    database:
        image: mysql:5.6
        environment:
            - "MYSQL_ROOT_PASSWORD=guest"
            - "MYSQL_DATABASE=laravel_app"
        ports:
            - "33061:3306"
        networks:
            - app-network
    composer:
        image: composer/composer
        volumes_from: 
            - web
        working_dir: /var/www
networks:
    app-network:
        driver: bridge

version: '2'
services:
    web:
        build:
            context: ./
            dockerfile: deploy/web.docker
        volumes:
            - ./:/var/www
        ports:
            - "8080:80"
        networks:
            - app-network
    app:
        build:
            context: ./
            dockerfile: deploy/app.docker
        volumes:
            - ./:/var/www
        environment:
            - "DB_PORT=3306"
            - "DB_HOST=database"
        networks:
            - app-network
    database:
        image: mysql:latest
        environment:
            - "MYSQL_ROOT_PASSWORD=guest"
            - "MYSQL_DATABASE=laravel_app"
        ports:
            - "33061:3306"
        networks:
            - app-network
    composer:
        image: composer/composer
        volumes_from: 
            - web
        working_dir: /var/www
networks:
    app-network:
        driver: bridge

Update MySQL image to `latest`
Update MySQL image to `latest`

This addition fixes an issue with the default users/password-resets migrations, due to the email index character length being too long.