[GH-ISSUE #1782] Support for external databases (like Postgres) #1113

Open
opened 2026-03-02 11:55:05 +03:00 by kerem · 5 comments
Owner

Originally created by @Mrtenz on GitHub (Jul 25, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1782

Describe the feature you'd like

Currently Karakeep only supports a local SQLite database. It would be nice to have support for an external database, such as Postgres as replacement for the local database.

Describe the benefits this would bring to existing Karakeep users

SQLite is not scalable and has performance issues when used with network storage. Postgres does not have these issues. In my case, I'm running Karakeep in a Kubernetes cluster, with NFS for storage. An external database solution would be much more reliable here.

Can the goal of this request already be achieved via other means?

No.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

Originally created by @Mrtenz on GitHub (Jul 25, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1782 ### Describe the feature you'd like Currently Karakeep only supports a local SQLite database. It would be nice to have support for an external database, such as Postgres as replacement for the local database. ### Describe the benefits this would bring to existing Karakeep users SQLite is not scalable and has performance issues when used with network storage. Postgres does not have these issues. In my case, I'm running Karakeep in a Kubernetes cluster, with NFS for storage. An external database solution would be much more reliable here. ### Can the goal of this request already be achieved via other means? No. ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### Additional context _No response_
Author
Owner

@WaYyTempest commented on GitHub (Jul 28, 2025):

I agree with you, being stuck with SQLite is quite annoying.

<!-- gh-comment-id:3125277778 --> @WaYyTempest commented on GitHub (Jul 28, 2025): I agree with you, being stuck with SQLite is quite annoying.
Author
Owner

@MohamedBassem commented on GitHub (Aug 3, 2025):

Postgres is something I'm seriously considering but at the same time, it's potentially going to be a ton of work. So still not sure when exactly this is going to come.

<!-- gh-comment-id:3148499997 --> @MohamedBassem commented on GitHub (Aug 3, 2025): Postgres is something I'm seriously considering but at the same time, it's potentially going to be a ton of work. So still not sure when exactly this is going to come.
Author
Owner

@grimwiz commented on GitHub (Sep 6, 2025):

I'm curious whether mysql (mariadb) would be easier?

<!-- gh-comment-id:3263263059 --> @grimwiz commented on GitHub (Sep 6, 2025): I'm curious whether mysql (mariadb) would be easier?
Author
Owner

@Atomique commented on GitHub (Oct 6, 2025):

I am also interested into this, because I dont trust the reliability of sqlite a lot. Especially if used in a containerized setup like kubernetes (with network attached storage).
If possible I would prefer postgres, it worked like a charme in all my other apps hosted in my lab.

<!-- gh-comment-id:3370758653 --> @Atomique commented on GitHub (Oct 6, 2025): I am also interested into this, because I dont trust the reliability of sqlite a lot. Especially if used in a containerized setup like kubernetes (with network attached storage). If possible I would prefer postgres, it worked like a charme in all my other apps hosted in my lab.
Author
Owner

@urzz commented on GitHub (Jan 27, 2026):

Any news on this?

<!-- gh-comment-id:3805160206 --> @urzz commented on GitHub (Jan 27, 2026): Any news on this?
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#1113
No description provided.