Self-host RabbitMQ with Levelrail
VerifiedA widely used open-source message broker supporting AMQP, MQTT, and STOMP.
- Memory512 MiB
- Archarm64
- Services1
How to self-host RabbitMQ
-
Pull the images
One image is pulled on your server.
Show images
rabbitmq:3.13-management-alpine
-
Create the app
One service starts in a single Compose app, with 1 named volume mount for your data, on port 15672.
-
Fill in the secrets
2 secrets are generated and stored encrypted, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
RabbitMQ requirements
- Memory
- About 512 MiB
- Architectures
- amd64 image published, arm64 tested
- Ports
- 15672
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- not yet recorded
- Verified. Verified on arm64 with image tag 3.13-management-alpine. Our CI ran this exact image version and it answered on its health path. Evidence
- Host ports. It publishes port 15672 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then RabbitMQ. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the RabbitMQ docs page.
Deploy RabbitMQ your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy RabbitMQ from the CLI
levelrail-cli templates deploy rabbitmq --name my-rabbitmq Deploy RabbitMQ with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/rabbitmq/deploy RabbitMQ configuration
RabbitMQ services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| rabbitmq | rabbitmq:3.13-management-alpine | 15672 | rabbitmq_data -> /var/lib/rabbitmq |
RabbitMQ environment variables
| Variable | Service | Value |
|---|---|---|
| RABBITMQ_DEFAULT_PASS | rabbitmq | Generated at deploy |
| RABBITMQ_DEFAULT_USER | rabbitmq | Generated at deploy |
Ports and volumes
- Ports
- 15672
- Volumes
- 1 named mount: rabbitmq_data -> /var/lib/rabbitmq
RabbitMQ FAQ
How much memory does RabbitMQ need?
The catalog lists about 512 MiB of memory for RabbitMQ.
Does RabbitMQ run on arm64?
For RabbitMQ, arm64 is tested; amd64 is image published.
Does RabbitMQ need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which ports does RabbitMQ use?
RabbitMQ listens on port 15672 inside the stack.
Where does RabbitMQ keep its data?
In a named volume: rabbitmq_data mounted at /var/lib/rabbitmq.
Can I deploy RabbitMQ on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id rabbitmq for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image rabbitmq:3.13-management-alpine is what you deploy there.