Strapi - Connecting with google Alloydb

Hi ,
I am using strapi with Google AlloyDb.
When I deploy my strapi in Cloud Run , the application fails to connect to the AlloyDB even though they are in the same VPC.
The application returns ERRCONNREFUSED .
Bit surprised why does the application uses localhost when the host env variable is provided with correct database ip.
Can you provide me the correct connection parameters to connect with AlloyDB
Any help is highly appreciated