Running Ghost with Pterodactyl

I want to install Ghost CMS, but I run pterodactyl panel already, which uses MariaDB. Is there any way to let them both use one database, or run both instances at once? I’m sure Ghost uses MySQL

Ghost uses Node.js with javascript while pterodactyl uses PHP with Go, they are not directly supported technologies.

But all is not lost, you can communicate them through the API but you will need additional adjustments in one of the two applications

Sorry for my English

I do not want to communicate through them, I want to run them both at the same time.