I read your post and used it on production. Today I was invaded because postgres acepted conection from anywhere.
So, I researched and found solution. Added restriction who can access postgres. And only docker can do it.
For restringe anywhere I put 127.0.0.1 before ports.
Hi,
I read your post and used it on production. Today I was invaded because postgres acepted conection from anywhere.
So, I researched and found solution. Added restriction who can access postgres. And only docker can do it. For restringe anywhere I put 127.0.0.1 before ports.