Camunda User Profile Management with Docker

How to isolate and keep users and user groups when camunda is running on a docker container? the problem is user profiles are wiped off when deleting the container, is there any solution to keep the user profiles always (like user profile store external DB, or mount a volume) available and reload on new deployment

You can connect an external identity service like LDAP

You could also use an external DB - pick from the list of supported databases