version: '2'
services:
    db:
        image: iamjrjohnson/ilios-mysql-demo
        ports:
            - "17103:3306"
    php:
        image: iamjrjohnson/docker-ilios-php
        expose:
            - "9000"
        links:
            - db
        volumes:
            - ./:/ilios:ro
            - /ilios/var
            - /ilios/var/cache
            - /ilios/var/sessions
            - /ilios/var/tmp
            - ./var/logs:/ilios/var/logs:rw
    web:
        build: ./containers/nginx
        ports:
            - "8000:80"
        links:
            - php
        volumes_from:
            - php
version: '2'
services:
    db:
        image: iamjrjohnson/ilios-mysql-demo
        ports:
            - "17103:3306"
    php:
        image: iamjrjohnson/docker-ilios-php
        environment:
            - ILIOS_API_ENVIRONMENT=true
            - ILIOS_API_DEBUG=true
        expose:
            - "9000"
        links:
            - db
        volumes:
            - ./:/ilios:ro
            - /ilios/var
            - /ilios/var/cache
            - /ilios/var/sessions
            - /ilios/var/tmp
            - ./var/logs:/ilios/var/logs:rw
    web:
        build: ./containers/nginx
        ports:
            - "8000:80"
        links:
            - php
        volumes_from:
            - php
Add the option to use development environment in docker
Add the option to use development environment in docker

Passing true to these new environmental variables will put docker
container into development mode.
