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
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!
Most helpful comment