Rabbitmq: usage of rabbitmq management path_prefix in docker

Created on 10 Apr 2018  路  4Comments  路  Source: docker-library/rabbitmq

Hi, is it possible to use path_prefix for management interface in docker image? I tried but found no way to use it.

Greetings,
Martin

Most helpful comment

RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS='-rabbitmq_management path_prefix "/rabbit"'

All 4 comments

See https://github.com/rabbitmq/rabbitmq-management/issues/481 for discussion of this (which is what led to the feature being implemented in the management plugin in the first place).

You'll need to provide this configuration yourself, either via RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS (as described at https://hub.docker.com/_/rabbitmq/) or via /etc/rabbitmq/rabbitmq.conf (which would likely be something like management.path_prefix = /x/y/z).

In the future, these sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

@tianon Any chance you can post an example of how RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS would look to achieve a path prefix of '/rabbit'? Not having much luck setting it correctly

RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS='-rabbitmq_management path_prefix "/rabbit"'

@lukebakken Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ash9002 picture ash9002  路  5Comments

michaelkrog picture michaelkrog  路  5Comments

aram535 picture aram535  路  4Comments

alexxkn picture alexxkn  路  6Comments

w7089 picture w7089  路  4Comments