# This container is specific to the application.
# It contains configuration and data for other containers.
data:
    build: ./docker
    volumes:
        - .:/srv
        - .home-developer:/home/developer
        - $SSH_AUTH_SOCK:/tmp/agent.sock

appserver:
    image: greg0ire/php
    volumes_from:
        - data
    env_file:
        - ./docker-compose.env
    environment:
        - DNSDOCK_IMAGE=app
        - SSH_AUTH_SOCK=/tmp/agent.sock


# This container is specific to the application.
# It contains configuration and data for other containers.
data:
    build: ./docker
    volumes:
        - .:/srv
        - .home-developer:/home/developer
        - $SSH_AUTH_SOCK:/tmp/agent.sock

console:
    image: greg0ire/php-console
    volumes_from:
        - data
    env_file:
        - ./docker-compose.env
    environment:
        - DNSDOCK_IMAGE=app
        - SSH_AUTH_SOCK=/tmp/agent.sock


Use new docker php image
Use new docker php image
