version: '3.1'services: mq: image: 'rabbitmq:management' restart: always ports: - '5672:5672' - '15672:15672' container_name: myrabbitmq~