The current implementation of service detection focusses on containers.
However when using Docker Swarm this limits automatic service detection
to the containers running on the same node as homepage (or
docker-proxy). Detecting other services in the docker swarm is with the
current implementation not possible.
This commit fixes this by getting the appropriate labels from services
when Docker swarm is configured in the config file. This ensures that
the appropriate labels are gathered from the service definition instead
of the container definiation, thus allowing for automatic service
detection for the entire Docker swarm. Please note that in order for
this to function the homepage (or dockerproxy) should be running on a
manager node. Only the manager node is able to gather all the relevant
service labels.
Fixes: #752, #970, #955, #1255, #1045, #1496
* Add support for pfSense API
* Fix linting issues
* remove a line
* rename cpu to load in default block
* Re-order container blocks to ensure defaults show
* clean up
* Add support for multiple volumes as well as defining the volume you want to track
* QNAP widget syntax corrections, translate invalid
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
* added all evcc related files
* changed units
* bugfix changed first value to pvPower insted of homePower
* deleted proxy.js
* delted battary label and german translation
* Code style changes to evcc widget
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
* Add support for pfSense API
* Fix linting issues
* remove a line
* rename cpu to load in default block
* Re-order container blocks to ensure defaults show
* simplify pfsense widget, rename, limit blocks
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>