I am doing a fresh nextcloud installation using a web installer, the mariadb is running in the docker container.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e7b5d6ac8d8d mariadb:10.4 "docker-entrypoint.s…" 3 hours ago Up 2 hours 0.0.0.0:3306->3306/tcp dockercompose_mariadb_1
0c90a3869409 redis:6.0.9 "docker-entrypoint.s…" 10 months ago Up 2 hours 0.0.0.0:7001->6379/tcp redis1
in which I already have created the nextcloud db and nextcloud user.
don’t get me wrong: mixing technologies is not bad if you do it for reasons… Each technology decision has its advantages and drawbacks, I’m big fan of docker but I understand some people prefer bare-metal install.
If you were running this setup because you want to - go on. But you should not follow the path just because it was running good for some time - from your post it looks you are not familiar with docker - this an argument against using it.
This outage is chance to review the architecture, backup and restore procedures, documentation of the system and align this topic with your knowledge and requirements - use it.