Skip to content

Commit ac2583a

Browse files
committed
show replicas 2
1 parent 2f74d92 commit ac2583a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

samples/bullmq-bullboard-redis/board/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const myQueue = new Queue(process.env.QUEUE, { connection });
1616

1717
// BULL BOARD
1818
const serverAdapter = new ExpressAdapter();
19-
serverAdapter.setBasePath('/admin/queues');
19+
serverAdapter.setBasePath('/board');
2020

2121
const board = createBullBoard({
2222
queues: [new BullMQAdapter(myQueue)],

samples/bullmq-bullboard-redis/compose.dev.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ services:
66
extends:
77
file: compose.yaml
88
service: board
9+
volumes:
10+
- ./board:/app
11+
- /app/node_modules
912
environment:
1013
- BOARD_PASSWORD=password
1114
- QUEUE=testqueue
15+
command: npx nodemon index.mjs
1216

1317
api:
1418
extends:

samples/bullmq-bullboard-redis/compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ services:
3232
- redis
3333

3434
worker:
35+
deploy:
36+
replicas: 2
3537
build:
3638
context: ./worker
3739
dockerfile: Dockerfile

0 commit comments

Comments
 (0)