version: "2"

services:
  # "Server startup complete"
  rabbit:
    image: rabbitmq:3.6
    ports:
      - "5672:5672"
    # node           : rabbit@my-rabbit
    # home dir       : /var/lib/rabbitmq
    # config file(s) : /etc/rabbitmq/rabbitmq.config
    # cookie hash    : UoNOcDhfxW9uoZ92wh6BjA==
    # log            : tty
    # sasl log       : tty
    # database dir   : /var/lib/rabbitmq/mnesia/rabbit@my-rabbit
    hostname: my-rabbit
    environment:
      RABBITMQ_ERLANG_COOKIE: "secret cookie here"
      # RABBITMQ_DEFAULT_USER: samlet
      # RABBITMQ_DEFAULT_PASS: samlet
  
  mosquitto:
    image: eclipse-mosquitto
    ports:
      - "1883:1883"

  duckling:
    image: rasa/duckling:latest
    ports:
      - "8000:8000"

  mongo:
    image: mongo
    ports:
    - "27017:27017"

  redis:
    image: redis
    ports:
      - "6379:6379"

  data:
    build: docker/data/.
  mysql:
    image: mysql:5.7
    ports:
      - "3306:3306"
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_ROOT_HOST: "%"
    volumes:
      - ./docker/data:/docker-entrypoint-initdb.d
    volumes_from:
      - data


  


