swarm-monitor icon indicating copy to clipboard operation
swarm-monitor copied to clipboard

Using Monitor For Apps Other Than Whoami

Open mozzhead164 opened this issue 4 years ago • 1 comments

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 avatar Mar 17 '20 12:03 mozzhead164

@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.

StefanScherer avatar Mar 18 '20 17:03 StefanScherer