Let's say I want to deploy a full stack web application to my machine. I will have frontend, backend, database and nginx containers. I already deployed nginx proxy manager, what is the best practice in terms of networking between these containers?
Should I put all the frontend, backend, database containers in a network and create a brige between nginx proxy manager network or should I put all of them in nginx proxy manager network directly?
I think first option sounds more logical since if I want to deploy more websites in the same machine later option would cause some problem.