Cannot access main postgres database with coolify

I used knex in my own nodejs application and it resolved the container name properly. I used the same knex connection json used in nocodb instance