AIO Set Persistent Mimetype Management

Nextcloud version: 27.1.5
AIO version: 7.9.0
Operating system and version : Rocky 8.9

The issue you are facing:

Using NextCloud AIO with Mimetype Mapping (https://docs.nextcloud.com/server/latest/admin_manual/configuration_mimetypes/index.html#mimetype-mapping). I can create the mapping aand is works ask expected. However, as the data/config folder is within the docker AIO NextCloud container volume, it is removed after the I perform an AIO container update.

Is there a way to retain mimetype configuration after an AIO Nextcloud container update?

Steps to replicate it:

  1. Create mimetype mapping as per https://docs.nextcloud.com/server/latest/admin_manual/configuration_mimetypes/index.html#mimetype-mapping
  2. Upgrade AIO/NextCloud container.
  3. Mimetypes mapping file is gone.

Anyone have any ideas?