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
| Variable | Description | Default | Required |
|---|---|---|---|
DATABASE__SQLITE__PATH | Path 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: