NodeRedManager = function NodeRedManager(gladys, serviceId) {
  this.gladys = gladys;
  this.serviceId = serviceId;

  this.nodeRedExist = false;
  this.nodeRedRunning = false;

  this.gladysConnected = false;
  this.networkModeValid = true;
  this.dockerBased = true;

  this.containerRestartWaitTimeInMs = 5 * 1000;
}
@description Add ability to connect to Node-RED.
@param {object} gladys - Gladys instance.
@param {string} serviceId - UUID of the service in DB.
@example
const nodeRedManager = new NodeRedManager(gladys, serviceId);