crazy-max / diun

Receive notifications when an image is updated on a Docker registry
https://crazymax.dev/diun/
MIT License
2.92k stars 111 forks source link

(Web) Dashboard for all information on one place #515

Open arunoruto opened 2 years ago

arunoruto commented 2 years ago

I love duin, since I can react right away if there is a new docker image with some update. But I also like regularly to update my containers due to security reasons. Something that would be really nice, is a simple dashboard where the monitored containers/images are listed with the current tag/version and the newest update. The reason for this, is that the messaging channels get sometimes flooded with a lot of stuff and then I have to filter out what is important, what not, and some updates come fix some issues with the update from yesterday.

I am not the best with webdev, but if @crazy-max could tell me what framework to use, I could try to put up something bare bones to build upon.

crazy-max commented 2 years ago

@SoulEater45 When this project started I had created a branch on which a web server and a simple web page showed the latest notifications but I didn't introduce it because I don't want to expose an endpoint for the moment (same as https://github.com/crazy-max/diun/issues/514#issuecomment-989873343). I'll keep your issue open in case I ever reconsider. Thanks.

Bouni commented 2 years ago

If you don't want to expose an endpoint, maybe you cound render a static HTML page that can be served by the user somewhere else!? I would really like to see such a feature in whatever way you think is best 😄

arunoruto commented 2 years ago

@Bouni there is the option of using the webhook for getting the needed informations for the website. I put up a simple endpoint using flask (python) and all of the needed information is there. I am also able to save the needed data to an sqlite database and am currently playing around of building a web ui using anvil. It is python, but I am too lazy of getting into the go language and will try to make something for show :D so if someone else wants to implement it into go, it will be easier to integrate it into this project for the future :)

Bouni commented 2 years ago

I'm not experienced in go as well so I would go for a python solution if this will never arrive in diun natively! Do you have your solution somewhere on github so that I can test it?

arunoruto commented 2 years ago

Sorry for the late response, I have a lot of things to do these days. I also don't have something to show, except for a basic listener for the requests coming from diun. As for the dashboard, a friend of mine told me about homer and it looks really nice. It would be cool to automatically parse docker containers which have a url (nginx, traefik, etc.) and make entries for them in the config. Then also take information of diun and display it also in the dashboard. I will keep you up-to-date if and what I have to show for with time :D

stefa168 commented 1 year ago

Currently I'm using Diun to track a LOT of docker images, and I prefer to update manually as I have multiple services that are critical and cannot be constantly updated.

The possibility to have an easy to access list of the latest images for all containers that aren't up to date would be extremely useful, especially when updates to the images happen very frequently (and I lose track of which have to be updated).

ValentinDrean commented 1 year ago

I can say this feature, even if it's a CLI command, would be amazing !

mcdoubleyou commented 5 months ago

Hey @arunoruto did you realize something meanwhile? thx!