Rocketseat / adonis-bull

The easiest way to start using an asynchronous job queue with AdonisJS. Ready for Adonis v5 ⚡️
MIT License
308 stars 57 forks source link

Show bull-board on a custom route [V5] #63

Closed rodrigorz closed 3 years ago

rodrigorz commented 3 years ago

What would you like to be added:

The bull-board package has a config to show the dashboard on a custom route (here, inside Hello World section) using express, and i think the adonis-bull can have the same functionality.

Why is this needed:

I'll need this, because the Admin User of my system will need to retry the failed jobs if necessary.

Is your enhancement request related to a problem? Please describe.

The only problem is that the Admin User has no control over the jobs.

Additional context

Here is an image from the bull-board config that i said. image

Is it possible? Or has a better way to do it?

ps: Thanks for the Adonis V5 support!!

HigoRibeiro commented 3 years ago

Hi @rodrigorz !!

I checked this question and tried and several ways to customize the route, but without success. I have come to the conclusion that it is not possible.

A suggestion is to configure your web server to handle this.

Thanks.

rodrigorz commented 3 years ago

Hi @HigoRibeiro

I'll try some ideas and if it works out I'll come back here to show.

Thanks.

technoknol commented 1 year ago

Anyone got any luck?