Skip to main content

SQLite

SQLite is a lightweight, file-based database that requires zero infrastructure. It's a good fit for development, testing, or small single-instance deployments.

Configuration

Environment Variables

VariableDescriptionDefaultRequired
DATABASE__SQLITE__PATHPath to the database file-
DATABASE__TYPE=sqlite
DATABASE__SQLITE__PATH=/data/safebucket.db

YAML Configuration

database:
type: sqlite
sqlite:
path: /data/safebucket.db

Docker Volume

When running in Docker, mount a volume to persist the database file:

services:
safebucket:
volumes:
- safebucket-data:/data
environment:
DATABASE__TYPE: sqlite
DATABASE__SQLITE__PATH: /data/safebucket.db

volumes:
safebucket-data: