How do I change the root password for mariadb in frappe docker?

I want to change the root password of Mariadb for an existing installation

Search online. I found this after search: Change root password in MariaDB Docker container running with docker-compose · GitHub

My search string:

Make sure you set password for root@% instead of root@localhost.

Thanks. I did find that but I wasn’t sure if there were any additional steps needed for Frappe Docker so I asked here