Network access control between containers for reverse proxy

No, I get it
I have a similar container that holds an app which listen on five different ports

As @rimelek suggested, a second, different proxy would require whoever hacks you to find exploits in both services to establish communication with your app’s other ports