This provides a simple way to monitor the status of a Bull queue in NocoDB. It uses basic auth to secure the endpoint.
Provide the following environment variables:
REDIS_HOST
: The host of the Redis serverREDIS_PORT
: The port of the Redis serverREDIS_DB
: The database of the Redis server -- optionalREDIS_PASSWORD
: The password of the Redis server -- optionalSESSION_SECRET
: The secret for the session -- default ismy-secret-key
BASIC_AUTH_USERNAME
: The username for basic auth -- default isadmin
BASIC_AUTH_PASSWORD
: The password for basic auth -- default isbull
BULL_PREFIX
: The prefix for the Bull queues -- default isbull
PORT
: The port for the server -- default is3000
It will try to detect all the queues using bull prefix and provide the status of each queue.
npm install
npm run start
npm run build:docker