How to open rabbitmq in browser using docker container?

后端 未结 8 685
清酒与你
清酒与你 2020-12-23 08:57

This was probably asked already, but so far I can\'t find any detailed explanation at all, and the existing documentation seems as if it was written for some kind on psychic

相关标签:
8条回答
  • 2020-12-23 09:55

    The compose would be like

    version: '3'
    services:
      rabbitmq:
        image: rabbitmq:management
        ports:
          - '5672:5672'
          - '15672:15672'
        volumes:
          - rabbitmq_data
    
    0 讨论(0)
  • 2020-12-23 09:56

    I see some useful answer, but none as mentioned how to access the server (rabbitmq) using container's ip-address. For people looking for this solution...

    • Make sure you have your rabbitmq image running on a container run: docker inspect
    • [container-id] and scroll down to find the container's ip-address.
    • add routing to contain's ip-address see `<

    : github-issues

    0 讨论(0)
提交回复
热议问题