https://cerbos.dev logo
#help
Title
# help
b

Balwan singh

08/18/2023, 9:46 AM
i am using demo-admin-api but data is not permanent store in db, i restart server then data is clear in my local
o

oguzhan

08/18/2023, 10:03 AM
The example is set to use
sqlite3
in `memory`: https://github.com/cerbos/demo-admin-api/blob/c86e5cf6b5ff2d87d14e89dc32d058a95d2789c1/cerbos/config/conf.yaml#L14 That’s why when cerbos container stops, the database is destroyed with it. You could use sqlite3 db in the filesystem instead, here is the relevant documentation:https://docs.cerbos.dev/cerbos/latest/configuration/storage#sqlite3 Also there are other options such as
disk
,
git
,
postgresql
,
mysql