Hi! I have three containers inside a Docker bridge network. At the moment, they can all communicate with one another. I would like to block communication between two of the containers, as illustrated in the diagram below.
I thought it would be a good idea because if my Nginx container is somehow breached, an attacker would be unable to access the database without also gaining control of the backend container.
Is this advisable, and how might I go about achieving it? Thanks.