I’m working on a project where I’m considering running both Nginx (as a reverse proxy or for serving static assets) and a game server (Mirror) within the same Docker container. I’m trying to evaluate whether this is a feasible approach and if there are any potential drawbacks or limitations.
Specifically, I’d like to know:
- Are there any performance or security concerns with this setup?
- Is it better to separate these services into different containers, even if they are part of the same application stack?
- Are there best practices for configuring Nginx and a game server to coexist in a single container, especially with respect to networking and resource allocation?
If anyone has experience with a similar configuration or can provide insights into the pros and cons of this approach, I’d greatly appreciate it. Any examples, configurations, or advice would be helpful!
Thanks in advance for your input!