RabbitMQ Docker Compose enable mqtt

779 views
Skip to first unread message

Ahri

unread,
Mar 8, 2021, 1:53:44 PM3/8/21
to rabbitmq-users
Hi,

i wrote a Docker-compose file to spin up a rabbitmq

  rabbitmq:
    imagerabbitmq:3-management
    container_namerabbitmq
    restartalways
    commandbash -c "rabbitmq-plugins enable --offline rabbitmq_mqtt"
    hostnameadfrabbit
    ports:
      - "8080:15672"
      - "1883"

Problem here what i can see : It runs the command, restarts and runs the command again and again and again , a loop .
Somebody know how i can avoid this ?


Reply all
Reply to author
Forward
0 new messages