Configuring the RabbitMQ broker

3 months ago

I used the template: to deploy rabbimq. After that, I went to the control panel and found that some settings were outdated for version 4.2.1-management. Monitoring was also disabled. Inside the template, the launch is performed using this command:

/bin/sh -c "CONFIG_PATH=/etc; SYSTEM_FILE=hosts; echo 127.0.0.1 rabbitmq >> ${CONFIG_PATH}/${SYSTEM_FILE} && echo management.tcp.ip = :: >> /etc/rabbitmq/conf.d/10-defaults.conf && docker-entrypoint.sh rabbitmq-server"

Is it possible to use newer parameters for launching and still enable monitoring?

Solved$10 Bounty

3 Replies

3 months ago

I also tried to create my own copy, but it didn't really work out for me.

/bin/sh -c "CONFIG_PATH=/etc; SYSTEM_FILE=hosts; echo 127.0.0.1 ${RABBITMQ_HOSTNAME:-rabbitmq} >> ${CONFIG_PATH}/${SYSTEM_FILE} && rm -f /etc/rabbitmq/conf.d/management_agent.disable_metrics_collector.conf && echo management.listener.ip = :: > /etc/rabbitmq/conf.d/10-railway.conf && echo management_agent.disable_metrics_collector = false >> /etc/rabbitmq/conf.d/10-railway.conf && docker-entrypoint.sh rabbitmq-server"

1449854304415383800


3 months ago

👀


3 months ago

Hi! Template feedback can be given through the template's station page
https://station.railway.com/templates/rabbit-mq-3b65c05f


Status changed to Solved medim 3 months ago


Loading...