version: '3'
services:
  nfvo:
    image: openbaton/nfvo:5.2.0
    depends_on:
      - rabbitmq_broker
    restart: always
    environment:
      - NFVO_RABBIT_BROKERIP=rabbitmq_broker
      - NFVO_PLUGIN_INSTALLATION-DIR=/dev/null
      - SPRING_RABBITMQ_HOST=rabbitmq_broker
    ports:
      - "8080:8080"
  vnfm-dummy-amqp:
    image: openbaton/vnfm-dummy-amqp:5.2.0
    depends_on:
      - nfvo
    restart: always
    environment:
      - SPRING_RABBITMQ_HOST=rabbitmq_broker
  plugin-vimdriver-test:
    image: openbaton/plugin-vimdriver-test:5.2.0
    depends_on:
      - nfvo
    restart: always
    environment:
      - RABBITMQ=rabbitmq_broker
  rabbitmq_broker:
    image: rabbitmq:3-management-alpine
    hostname: openbaton-rabbitmq
    environment:
      - RABBITMQ_DEFAULT_USER=admin
      - RABBITMQ_DEFAULT_PASS=openbaton
    ports:
      - "5672:5672"
      - "15672:15672"
