Skip to content

[feat]: Support configurable database options #46

@Meisterzunge

Description

@Meisterzunge

Prerequisites

  • I have searched for existing issues that already suggest this feature.

Describe the Feature Request

LNbits supports various database options (SQLite, Cockroach and Postgres).
When setting up the LNBits service in StartOS (currently v0.3.5.1) SQLite will be used as database. To quote the LNBits docs, it is highly recommended to switch to postgres for running LNBits on scale.

Describe the Use Case

Running LNBits on a SQLite database is fine if you want to play around. But you want to have a reliable and fast service when using it in a production environment.

Describe Preferred Solution

I propose an option in the settings section to configure wich database to be used. No problem if this settings can only be changed before starting the service for the first time.

Describe Alternatives

As an alternative I would recommend to use postgres instead of an SQLite database. No settings but using postgres as a one-fits-all solution.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions