Service type
App service
RabbitMQ service
RabbitMQ message broker service for AMQP queues, event-driven workloads, and asynchronous service communication.
You add this service to a stack, where you choose its version and resources. Each app environment can override them.
On Wodby
How RabbitMQ runs on Wodby
What Wodby sets up for this RabbitMQ service.
How applications reach it
- Host: the name of this app service inside the environment.
- Ports:
5672AMQP (no TLS),15672management UI and HTTP API (the service's main HTTP endpoint),15692Prometheus metrics at/metrics(private, internal only). - Credentials are tokens of this service:
username(a fixed account name),password(generated) andvhost(/). A service linked to this one receives host, port and these tokens in variables named by the linking service; read them in code and do not copy the password into the repository. - Inside this container the same values are in
RABBITMQ_DEFAULT_USER,RABBITMQ_DEFAULT_PASSandRABBITMQ_DEFAULT_VHOST. The same account signs in to the management UI. - An Erlang cookie is also generated (token
erlang_cookie); applications do not need it.
What is configured
- The plugins
rabbitmq_managementandrabbitmq_prometheusare enabled. - On every start the container writes
/etc/rabbitmq/conf.d/90-wodby.conffrom environment variables. Never edit it; set the variables on the service:
| Variable | Setting | Default |
|---|---|---|
RABBITMQ_CHANNEL_MAX | channel_max | 2047 |
RABBITMQ_HEARTBEAT | heartbeat | 60 |
RABBITMQ_VM_MEMORY_HIGH_WATERMARK_RELATIVE | memory high watermark, share of available memory | 0.4 |
RABBITMQ_DISK_FREE_LIMIT | disk_free_limit.absolute | 50MB |
- The default user, password and virtual host are applied by RabbitMQ only when it first creates its database. Later changes to the account are made in RabbitMQ itself (
rabbitmqctl, management UI), not by changing the variables. - The service runs as a single node and is not scalable.
Data
Broker data (definitions, queues, messages) is in /var/lib/rabbitmq. The data volume is optional; without it everything, including users and queues created at runtime, is lost when the container is replaced. A message survives a restart only when the volume exists and the queue is durable and the message persistent. The manifest declares no backups, imports or actions.
Check the result
From this service's container:
rabbitmq-diagnostics -q pingandrabbitmq-diagnostics -q statusrabbitmqctl list_queues name messages consumersrabbitmqctl list_usersandrabbitmqctl list_permissions -p /
Overview
Technical profile of RabbitMQ
The versions are the ones you can select for RabbitMQ in a stack or an app environment. The service itself is published in revisions, and a stack references a specific revision.
App service
Versions
4.3, 4.2
Source repository
Public Helm chart
Persistent volumes
Data
Configuration
RabbitMQ service configuration
The RabbitMQ service declares the following. Where a value can be changed, a stack sets it and each app environment can override it.
Technical domains
Wodby gives each public HTTP port a technical domain with a TLS certificate and renews the certificate. A port that the service marks private gets no domain. You can add custom domains.
Volumes
Data