briqbriq
Dashboard

cookbook / redis-bullmq

Redis + BullMQ dashboard

Redis for BullMQ queues, plus a Bull Board UI to inspect jobs. Point your workers at REDIS_URL; the dashboard discovers the queues itself.

Run it

briq_run({
  recipe: "redis-bullmq",
  params: {
    "queues": [
      "default"
    ],
    "size": "nano"
  },
  wait: true
})

Parameters

NameTypeOptionsDefault
queuesstring[]["default"]
sizeenumnano, small, medium"nano"

Outputs

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

REDIS_URL
redis://redis.<stack>.internal:6379
BULL_BOARD_URL
http://bullboard.<stack>.internal:3000
QUEUES
default

What it runs

BriqImagePortsSizeVolume
redisredis:7-alpine6379nano
bullboardghcr.io/felixmosh/bull-board:9.10.13000nano

When to use it

  • Your app runs BullMQ (or Bull) workers and you want the queues and a way to look at them.
  • The agent is implementing or debugging a job pipeline and needs to see waiting, active, failed and completed jobs while it works.

The stack is two briqs: redis holds the queues, bullboard runs Bull Board pointed at it. Workers connect to REDIS_URL; the dashboard finds the queues by itself and lists them as they appear.

Tips

  • Queues appear on their own. The board watches the prefix and picks up a queue the first time your worker touches it, so an empty board means nothing has been enqueued yet. queues is echoed back in the outputs as a note to yourself about what to name them.
  • Show the board to a human. briq_expose the bullboard briq on port 3000 with mode: "token".
  • Inspect from the agent without the UI: briq_exec on the redis briq with redis-cli keys "bull:emails:*" or redis-cli llen bull:emails:wait.
  • Redis has no volume in this stack; queues are for the session. Stop and start keeps memory only while the microVM is suspended, not after a destroy.
  • The prefix is bull, BullMQ's default. If your code sets another one, run the image directly with briq_run({ image: … }) and set BULL_BOARD_REDIS_URL plus the prefix flag yourself.
  • The dashboard waits. If Redis is slow to come up, Bull Board serves a diagnostic page and retries rather than exiting, so bullboard stays running while it reconnects.