db:
    image: mysql:latest
    environment:
        - MYSQL_ROOT_PASSWORD=root
        - MYSQL_DATABASE=coda_local

base:        
    build: .
    volumes:
        - .:/app/

app:
    extends:
        service: base
    command: python manage.py runserver 0.0.0.0:80
    ports:
        - "8000:80"
    links:
        - db

test:
    extends:
        service: base
    entrypoint: py.test
    links:
        - db

manage:
    extends:
        service: base
    entrypoint: /app/manage.py
    links:
        - db

db:
    image: mysql:5.5
    environment:
        - MYSQL_ROOT_PASSWORD=root
        - MYSQL_DATABASE=coda_local

base:        
    build: .
    volumes:
        - .:/app/

app:
    extends:
        service: base
    command: python manage.py runserver 0.0.0.0:80
    ports:
        - "8000:80"
    links:
        - db

test:
    extends:
        service: base
    entrypoint: py.test
    links:
        - db

manage:
    extends:
        service: base
    entrypoint: /app/manage.py
    links:
        - db

Use MySQL 5.5 in dev
Use MySQL 5.5 in dev
