app:
  extends:
    file: common.yml
    service: app
  image: "mycompany/myapp-test:latest"
  links:
    - db
  volumes_from:
    - cache
  volumes:
    - ../src:/application
  environment:
    DJANGO_SETTINGS_MODULE: mysite.settings.test

db:
  extends:
    file: common.yml
    service: db

cache:
  image: mycompany/myapp-test:latest
  volumes:
    - /tmp/mycompany_myapp_cache:/cache
  entrypoint: "true"

agent:
  extends:
    file: common.yml
    service: agent
  links:
    - db

builder:
  image: mycompany/myapp-builder:latest
  volumes:
    - ../src:/application
    - ../target:/wheelhouse
  volumes_from:
    - cache
app:
  extends:
    file: common.yml
    service: app
  image: "mycompany/myapp-test:latest"
  links:
    - db
  volumes_from:
    - cache
  volumes:
    - ../src:/application
  environment:
    DJANGO_SETTINGS_MODULE: mysite.settings.test
    MYSQL_USER: root
    MYSQL_PASSWORD: pass1234

db:
  extends:
    file: common.yml
    service: db

cache:
  image: mycompany/myapp-test:latest
  volumes:
    - /tmp/mycompany_myapp_cache:/cache
  entrypoint: "true"

agent:
  extends:
    file: common.yml
    service: agent
  links:
    - db

builder:
  image: mycompany/myapp-builder:latest
  volumes:
    - ../src:/application
    - ../target:/wheelhouse
  volumes_from:
    - cache
Configure application to use MySQL root user/password
Configure application to use MySQL root user/password
