Local server on Synology with docker

This is my first post on this forum.
I have been using the Blynk server installed on a Raspberry platform for over 2 years.
Now I want to migrate the server to Synology. I installed an image on the docker and itโ€™s ok.
How can I use the existing MariaDB server on Synology to store data from Blynk?

Thank you