Matomo Docker Image to securely connect Database using mysql(SSL)

Hi Team,
I have deployed matomo image(https://hub.docker.com/_/matomo) in our environment, after enabling ssl we are unable to find steps to securely connect mysql (SSL) using above docker image.
Issue after enabling SSL -Error while trying to connect to the database server: SQLSTATE[HY000] [9002] SSL connection is required. Please specify SSL options and retry.
Note - mysql is deployed in Azure
Any help would be highly appreciated. Awaiting Response.