i am using <demo-admin-api> but data is not perman...
# help
b
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
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