-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
The documentation says that if I want settings persistence across Docker container recreations then I will need to mount /a0/usr as a volume. However, doing so doesn't appear to actually persist anything. A bit of spelunking suggests that what I actually want is to mount sever sub-folders of /a0, none of which are inside /a0/usr.
For settings in particular, it appears to live in /a0/tmp/settings.json. It is bizarre/surprising to see settings in a tmp folder, but the docs do mention this.
The docs at https://www.agent-zero.ai/p/docs/get-started/#data-persistence are very clear that you should definitely map /a0/usr and mounting any of the folders that actually have data in them is not recommended. A list of the folders that appear to be the correct folders to mount are called out as folders you should not mount.
At the end of the section it gives a list of folders that will be saved if you mount /a0/usr, but as far as I can tell none of this is true.
A. What is the correct folder to mount so data is persistent across docker container recreations?
B. The docs should be updated to give instructions that work properly.