Skip to main content

Database Providers

Safebucket supports two database backends: PostgreSQL and SQLite. Choose the one that best fits your deployment needs.

Which database should I use?

Use PostgreSQL for production deployments: it offers full concurrency, connection pooling, and scales with your workload. Use SQLite for lightweight or development deployments where minimal infrastructure is preferred.

Common Configuration

VariableDescriptionDefaultRequired
DATABASE__TYPEDatabase typepostgres

Providers

  • PostgreSQL: Full-featured relational database for production use
  • SQLite: Embedded file-based database for lightweight deployments