Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usage of rabbitmq management path_prefix in docker #249

Closed
ghost opened this issue Apr 10, 2018 · 5 comments
Closed

usage of rabbitmq management path_prefix in docker #249

ghost opened this issue Apr 10, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 10, 2018

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

@tianon
Copy link
Member

tianon commented Apr 10, 2018

See rabbitmq/rabbitmq-management#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 tianon closed this as completed Apr 10, 2018
@thenewguy
Copy link

@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

@lukebakken
Copy link
Collaborator

RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS='-rabbitmq_management path_prefix "/rabbit"'

@thenewguy
Copy link

@lukebakken Thanks!

@Davidrjx
Copy link

hi, metric path uses /api as default prefix, is there a way updating this like /metrics without /api?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants