News for hackers. Stuff that matters.
Re:Securing a Postgres Database by nirui on Friday April 02, 2021 @10:44PM (#26678025)
I saw nobody mentioning Docker here, so just a reminder: If you do `-p 5432:5432`, there is no different than listening `0.0.0.0`.
Re:Securing a Postgres Database by jhardy54 on Saturday April 03, 2021 @04:04AM (#26679158)
Right, which is why it’s absolutely critical to bind to 127.0.0.1 instead of 0.0.0.0 in your docker / docker-compose config.