File tree Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -100,4 +100,5 @@ BLOB_STORAGE_PATH=/root/.flowise/storage
100
100
# REDIS_TLS=
101
101
# REDIS_CERT=
102
102
# REDIS_KEY=
103
- # REDIS_CA=
103
+ # REDIS_CA=
104
+ # ENABLE_BULLMQ_DASHBOARD=
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ services:
49
49
- REDIS_CERT=${REDIS_CERT}
50
50
- REDIS_KEY=${REDIS_KEY}
51
51
- REDIS_CA=${REDIS_CA}
52
+ - ENABLE_BULLMQ_DASHBOARD=${ENABLE_BULLMQ_DASHBOARD}
52
53
ports :
53
54
- ' ${PORT}:${PORT}'
54
55
healthcheck :
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ services:
49
49
- REDIS_CERT=${REDIS_CERT}
50
50
- REDIS_KEY=${REDIS_KEY}
51
51
- REDIS_CA=${REDIS_CA}
52
+ - ENABLE_BULLMQ_DASHBOARD=${ENABLE_BULLMQ_DASHBOARD}
52
53
ports :
53
54
- ' ${PORT}:${PORT}'
54
55
volumes :
Original file line number Diff line number Diff line change @@ -99,3 +99,4 @@ PORT=3000
99
99
# REDIS_CERT=
100
100
# REDIS_KEY=
101
101
# REDIS_CA=
102
+ # ENABLE_BULLMQ_DASHBOARD=
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ export abstract class BaseCommand extends Command {
75
75
REDIS_TLS : Flags . string ( ) ,
76
76
REDIS_CERT : Flags . string ( ) ,
77
77
REDIS_KEY : Flags . string ( ) ,
78
- REDIS_CA : Flags . string ( )
78
+ REDIS_CA : Flags . string ( ) ,
79
+ ENABLE_BULLMQ_DASHBOARD : Flags . string ( )
79
80
}
80
81
81
82
protected async stopProcess ( ) {
@@ -210,5 +211,6 @@ export abstract class BaseCommand extends Command {
210
211
if ( flags . QUEUE_REDIS_EVENT_STREAM_MAX_LEN ) process . env . QUEUE_REDIS_EVENT_STREAM_MAX_LEN = flags . QUEUE_REDIS_EVENT_STREAM_MAX_LEN
211
212
if ( flags . REMOVE_ON_AGE ) process . env . REMOVE_ON_AGE = flags . REMOVE_ON_AGE
212
213
if ( flags . REMOVE_ON_COUNT ) process . env . REMOVE_ON_COUNT = flags . REMOVE_ON_COUNT
214
+ if ( flags . ENABLE_BULLMQ_DASHBOARD ) process . env . ENABLE_BULLMQ_DASHBOARD = flags . ENABLE_BULLMQ_DASHBOARD
213
215
}
214
216
}
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ export class App {
251
251
} )
252
252
} )
253
253
254
- if ( process . env . MODE === MODE . QUEUE ) {
254
+ if ( process . env . MODE === MODE . QUEUE && process . env . ENABLE_BULLMQ_DASHBOARD === 'true' ) {
255
255
this . app . use ( '/admin/queues' , this . queueManager . getBullBoardRouter ( ) )
256
256
}
257
257
You can’t perform that action at this time.
0 commit comments