This will allow this web UI to sit nicely behind a reverse proxy.
Dynamically set the ports used for the
- VNC service
- noVNC service
- Pulseaudio socket
- VNC audio transport websocket
Remove all mentions of the above used ports in the Dockerfile.
This allows this container to start up before X is ready on the main container and restart the process until it becomes available.
Each restart will have a small delay of a few seconds. So 50 attempts should be a few mins.
This requires that you still have setup a primary container instance of this image.
We can then run a secondary instance of steam that will use the existing X server.
We are still limited to running one of these steam instances at a time.
The current supervisor.d configs are configured specifically for a particular supervisor version / installation.
This decouples the configuration so we can use it on any distro.