I need to "dockerize" a rather complex application which right now runs on a bare server. Now, at the moment, I have:
The idea is to turn this into something as modular as possible; my (novice) idea, although it might be wrong:
(The app unfortunately at the moment also uses Websockets, and the client list is in-process. This is something the developers will need to face and solve, and for now I will assume that it's not a problem
Did I "get it right"? Is this how you'd normally set things up? Finally, the NginX server is clearly the single most vulnerable point of failure (if it goes down, goodbye everything). How would you make it more resilient...?