How to create digitalocean firewall for postgresql

  digital-ocean, docker, docker-compose

I’m looking at how to create a digitalocean firewall for my docker container.

I know how to create a rule for TCP port 5432. However I still want to connect using pgadmin.

How can I only allow local connections, and two connections from the IP address of a couple of specific computers?

enter image description here

Source: Docker Questions

LEAVE A COMMENT