Fastify
Fastify. @bull-board/fastify registers as a plugin.
Install
Fastify 5 only
The adapter bundles @fastify/static and @fastify/view, both of which target fastify@5. Registering it on fastify@4 throws a version mismatch from fastify-plugin before the dashboard ever serves a request. Upgrade Fastify, or mount the dashboard on a separate Express instance instead.
FastifyAdapter takes the base path from setBasePath() or the prefix option on app.register(). If you set both, they must match, otherwise asset URLs will 404.
Tip
Top-level await in the example. Wrap the body in async function main() { ... }; main() if you're on plain CommonJS.
Full runnable examples
- Simple setup:
examples/with-fastify - With basic auth:
examples/with-fastify-auth - With visibility guard:
examples/with-fastify-visibility-guard
Next steps
- UIConfig: title, logo, locale, polling.
- Read-only mode: disable destructive actions.
- Visibility guard: scope visible queues per request.
- Formatters: rewrite job fields for the UI.