Closed royvandongen closed 1 year ago
The Docker image starts the development server for the UI which runs the unoptimized code. We checked in changes, that will start the Caddy webserver serving the static optimized build of the UI. This will result in a smaller image size and less CPU and memory usage.
Has already been resolved with the latest releases.
While running Restreamer-UI i have noticed the process taking up upto 100% cpu and 2gigs of memory (just the UI). while using the composefile below:
When adding
mem_limit: 500m
andcpus:0.50
, the ui wont even start anymore. indicating something might be wrong with the ui (process node /ui/node_modules/react-scripts/start.js is running at max cpu). 500Megabyte of memory and 1.5Ghz should be plenty to run a basic gui under normal circumstances.Also the documentation lacks explanaition about the current state of restreamer-ui and the posibility to connect to the core at the correct methods.
docker logs output:
docker-compose.yml: