Integration Chirpstack (Docker) with postgres (localhost)

Hello Guys, I’m trying to connect via chirpstack (docker) with postgres (localhost) on the same server. The problem is that port 5432 is blocked for external access only allowing internal access.
How could I link doker compose directly to my localhost?

Hello @Thiago_Campos,

I am trying the same. And not able to connect.

Did you find any solution for this?

Thanks,
Rahul

Hello @Rahul,

I open a postgres port to access externally.
In the command terminal, edit the pg_hba.conf file
Insert the line below at the end of the file.

host all all 0.0.0.0/0 md5