I know what you mean; that has been a problem in the past. In case you have to again, I'd recommend looking into either Roadrunner or Swoole. That makes it possible to have your application run more or less standalone in a single container, hosted by a native application server. This boosts performance incredibly, and exposes a single HTTP port, as it should be.
For Symfony: https://github.com/k911/swoole-bundle
For Laravel: https://laravel.com/docs/8.x/octane