briqbriq

RabbitMQ

AMQP message broker with the management UI enabled.

  • queue
  • messaging

Guide: Connect to a database from outside

Run it

briq_run({
  recipe: "rabbitmq",
  params: {
    "version": "4",
    "size": "small",
    "diskGb": 1
  },
  wait: true
})

Parameters

NameTypeOptionsDefault
versionenum3.13, 4"4"
sizeenumnano, small, medium, large"small"
diskGbnumber—1

Outputs

Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.

AMQP_URL
amqp://app:<RABBITMQ_PASSWORD>@rabbitmq.<stack>.internal:5672
RABBITMQ_MANAGEMENT
http://rabbitmq.<stack>.internal:15672
RABBITMQ_USER
app
RABBITMQ_PASSWORD
<RABBITMQ_PASSWORD>

What it runs

BriqImagePortsSizeVolume
rabbitmqrabbitmq:4-management-alpine5672, 15672small1 GB at /var/lib/rabbitmq

When to use it

  • Your services speak AMQP (Celery, MassTransit, amqplib, Spring AMQP) and need real acks, prefetch and dead-lettering.
  • You want the management UI or HTTP API to inspect queues during a test.

Tips

  • Boot takes 30 to 60 seconds on small; briq_run waits for it.
  • Declare exchanges and queues from code, so tests see what production sees.
  • Inspect queues: briq_exec with ["rabbitmqctl", "list_queues", "name", "messages"].
  • Workers outside briq: briq_expose port 5672 with protocol: "amqp" gives an amqps:// URL. See Connect to a database from outside.
  • Management UI for a human: briq_run({ recipe: "rabbitmq", expose: "private" }).
  • Long queues: messages that outgrow memory go to the volume, which starts small; pass diskGb for more. Set it when the briq is created, and it counts toward your plan's disk.

On this page

Free to try

Let your agent try it, on us.

Every new account starts with €10 of credits. No card.

Connect your agent

How can we help?

Message to the briq team
hello@briq.cloud