mysql:
  image: mysql:5.6
  environment:
    - MYSQL_ROOT_PASSWORD=mysupersecret
    - MYSQL_DATABASE=parsley
    - MYSQL_USER=parsley
    - MYSQL_PASSWORD=password
  volumes_from:
    - parsley_db_data


web:
  build: .
  ports:
    - "3000:80"
  links:
    - mysql