version: '2'
services:
  mysql:
    image: "mysql:5.7"
    ports:
      - "3306:3306"
    environment:
      - MYSQL_DATABASE=storyboard
      - MYSQL_ROOT_PASSWORD=insecure
    volumes:
      - "./mysql:/var/lib/mysql"

  rabbitmq:
    image: "rabbitmq:3"
    ports:
      - "5672:5672"
    environment:
      - RABBITMQ_DEFAULT_USER=storyboard
      - RABBITMQ_DEFAULT_PASS=storyboard

  swift:
    image: "openstackswift/saio"
    ports:
      - "8888:8080"
    volumes:
      - "./fix-ini.sh:/etc/cont-init.d/fix-init.sh"
