swarm-monitor
swarm-monitor copied to clipboard
Using Monitor For Apps Other Than Whoami
Sorry for writing this as an issue, because its not and it works fine for my setup. ...But only for whoami containers.
Could you give us some rough instructions on how to adapt this for other containers please?
Would it just entail pulling to a private registry and modifying app.js so it points to said app instead of whoami?
What if we want to point to several apps, each with a different colour, is this possible?
Many thanks for the hard work and i look forward to your reply. @StefanScherer
@mozzhead164 sure you can build your own swarm monitor image and adjust https://github.com/StefanScherer/swarm-monitor/blob/master/app.js line 51 ff that searches for a specific version of the whoami image. Insert your image name, and return another color code, it‘s RGB and the brightness as fourth value.