[GH-ISSUE #13] Make Redis database number configurable #11

Closed
opened 2026-03-02 11:45:37 +03:00 by kerem · 3 comments
Owner

Originally created by @jandillmann on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/13

Redis supports 16 different databases, numbered from 0 to 15. By default, clients connect to database 0.

If the database number was configurable I could use my already running Redis instance, instead of spinning up a new one.

It seems like this project uses BullMQ, which itself uses ioredis. The configuration option db is the "Database index to use.".

More information: https://github.com/redis/ioredis/blob/v4/API.md#new-redisport-host-options

Originally created by @jandillmann on GitHub (Mar 27, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/13 Redis supports 16 different databases, numbered from `0` to `15`. By default, clients connect to database `0`. If the database number was configurable I could use my already running Redis instance, instead of spinning up a new one. It seems like this project uses BullMQ, which itself uses ioredis. The configuration option `db` is the "Database index to use.". More information: https://github.com/redis/ioredis/blob/v4/API.md#new-redisport-host-options
kerem 2026-03-02 11:45:37 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Mar 27, 2024):

Makes sense, will send a quick PR soon :)

<!-- gh-comment-id:2022158627 --> @MohamedBassem commented on GitHub (Mar 27, 2024): Makes sense, will send a quick PR soon :)
Author
Owner

@jandillmann commented on GitHub (Mar 27, 2024):

Thank you 🤩

<!-- gh-comment-id:2022611395 --> @jandillmann commented on GitHub (Mar 27, 2024): Thank you 🤩
Author
Owner

@MohamedBassem commented on GitHub (Mar 27, 2024):

You're welcome! It'll be available in the next release happening very soon (probably later today).

<!-- gh-comment-id:2022613151 --> @MohamedBassem commented on GitHub (Mar 27, 2024): You're welcome! It'll be available in the next release happening very soon (probably later today).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#11
No description provided.