Ray Kootstra Ray Kootstra - 17 days ago
156 0

No description

YAML

docker-compose.yml

version: '2'
services:
    db:
        image: mysql:5.5
        ports:
            - "3306:3306"
        environment:
            MYSQL_ROOT_PASSWORD: root
            MYSQL_DATABASE: symfony
    php-apache:
        build: docker/php-apache
        ports:
            - "8080:80"
        volumes:
            - ./:/var/www
            - ./docker/logs/symfony:/var/www/app/logs
            - ./docker/logs/apache2/:/var/log/apache2
        links:
            - db