website/src/content/docs/self-hosting/filesystem.mdx
{
"database": {
"file_system": {
"path": "/var/lib/rivet/data"
}
}
}
RIVET__database__file_system__path="/var/lib/rivet/data"
If no path is specified, Rivet uses platform-specific default locations:
~/.local/share/rivet-engine/db~/Library/Application Support/rivet-engine/db%APPDATA%\rivet-engine\dbWhen running in a container or as a service, the path defaults to ./data/db relative to the working directory.
The file system backend is ideal for:
If you need a production-ready Rivet deployment today, use this backend for smaller single-node setups; for multi-node deployments, PostgreSQL is the recommended backend today though still experimental, and Enterprise teams can contact enterprise support about FoundationDB for the most scalable production-ready deployment.