Skip to content

Storage Choices

BackendBest forPersistence
fileExisting deployments or temporary runsFile directories
sqliteSingle-instance production (recommended).codebuddy_data/storage.sqlite
pgMultiple instances or high concurrencyPostgreSQL service

Database backends require CODEBUDDY_STORAGE_ENCRYPTION_KEY. For a new SQLite deployment, set CODEBUDDY_STORAGE_BACKEND=sqlite; mount .codebuddy_data only when data must survive container recreation.