RabbitMQ on Railway
RabbitMQ message broker with management UI and a persistent volume, ready for other Railway services.
RabbitMQ is an open-source message broker. Applications publish messages to exchanges, which route them to queues where consumers pick them up, using AMQP and other protocols. It is used for background job queues, decoupling services and spreading work across workers, and is often compared with Kafka and Redis-based queues.
RabbitMQ is written in Erlang and ships with a management plugin that provides a web UI and HTTP API for users, queues and connections, plus a Prometheus metrics endpoint.
The RabbitMQ server and its core plugins are licensed under the Mozilla Public License 2.0.
What RabbitMQ can do
- AMQP message broker with durable queues
- Management web UI and HTTP API
- Prometheus metrics endpoint
- Users, virtual hosts and permissions
- Memory and disk alarms
- Official Docker image
What people use it for
- Background job queues for web apps
- Decoupling services with asynchronous messages
- Distributing work across worker processes
- Routing events between microservices
Videos
Running RabbitMQ on Railway
The Railway template deploys one RabbitMQ 4.3.6 node from the official management image, with a volume at /var/lib/rabbitmq and a fixed node name so users, queues and messages survive redeploys. The management UI and API sit on a public HTTPS domain behind an admin login, while AMQP and Prometheus stay on the private network, and ready-made RABBITMQ_URL and AMQP_URL variables are provided for other services. It is a single node that scales vertically; cost follows memory, CPU and volume size.
RabbitMQ templates on Railway
Tracklayer templates are listed first. Other RabbitMQ templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about RabbitMQ
How do I log in and connect an app?
Open the service's public domain and sign in with RABBITMQ_DEFAULT_USER (default admin) and RABBITMQ_DEFAULT_PASS from the Variables tab. In another service in the project, set RABBITMQ_URL to the template's RABBITMQ_URL reference variable.
Can I connect from outside Railway?
Optionally, through a TCP proxy on port 5672. The proxy forwards plain TCP without TLS, so with the default PLAIN login the credentials and messages cross the internet unencrypted. Use it only for non-sensitive data and with a limited user.
Is data persistent?
Users, vhosts, queue definitions and messages in durable queues are on the volume; publish messages as persistent if they must survive a restart. A redeploy briefly stops the broker. Do not change RABBITMQ_NODENAME after the first deploy.
How do I upgrade or scale?
The version is pinned in the service Dockerfile. Change the tag for a patch release; for a minor release follow RabbitMQ's upgrade guide one minor version at a time and export definitions first. This is a single node and scales vertically.
What is the licence?
The server and its core plugins are Mozilla Public License 2.0, shipped unmodified as the official image.
Guides
Similar apps
Tracklayer maintains the templates marked as such; RabbitMQ is a trademark of its owners and this site is not affiliated with them.