feat(server): add bull ui board

This commit is contained in:
Ahmed Bouhuolia
2026-01-29 20:37:04 +02:00
parent 518abcd30d
commit 6193358cc3
15 changed files with 223 additions and 12 deletions

View File

@@ -0,0 +1,8 @@
import { registerAs } from '@nestjs/config';
import { parseBoolean } from '@/utils/parse-boolean';
export default registerAs('bullBoard', () => ({
enabled: parseBoolean<boolean>(process.env.BULL_BOARD_ENABLED, false),
username: process.env.BULL_BOARD_USERNAME,
password: process.env.BULL_BOARD_PASSWORD,
}));

View File

@@ -19,6 +19,7 @@ import throttle from './throttle';
import cloud from './cloud';
import redis from './redis';
import queue from './queue';
import bullBoard from './bull-board';
export const config = [
app,
@@ -42,4 +43,5 @@ export const config = [
throttle,
redis,
queue,
bullBoard,
];