ualex73 / monitor_docker

Monitor Docker containers from Home Assistant
Apache License 2.0
267 stars 34 forks source link

New feature: Updates #107

Closed boehser-enkel closed 1 month ago

boehser-enkel commented 1 year ago

Hi,

since portainer included update check of container images and webhook to rebuild them how about a update check & update function for container?

greetz

loeffelpan commented 1 year ago

Would love to see this feature. sshing with homeassistant to the host and sending docker commands to pull and compose is really ugly.

And news?

derekoharrow commented 1 year ago

Would be great to have this. I achieve this today using WhatsUpDocker which integrates with Home Assistant:

https://fmartinou.github.io/whats-up-docker/#/introduction/?id=good-integration-with

loeffelpan commented 1 year ago

Thanks for your tip. How to integrate WUD to Home Assistent? Just RESTful sensor and Webhook triggers or am I missing something?

derekoharrow commented 1 year ago

Thanks for your tip. How to integrate WUD to Home Assistent? Just RESTful sensor and Webhook triggers or am I missing something?

It's not very easy to find in the WhatsUpDocker documentation, but if you look here you can see that you can set it up to create MQTT sensors that Home Assistant auto-discovers.

loeffelpan commented 1 year ago

@derekoharrow Sorry for bothering you again. I took a look at wud as an workaround.

But I don't get how to manually update containers with wud. Just trigger a webhook and update automatically seems to be possible.

ualex73 commented 1 month ago

e.g. watchtower is a solution for this, so I will close this ticket.

boehser-enkel commented 1 month ago

e.g. watchtower is a solution for this, so I will close this ticket.

It’s just a workaround

ualex73 commented 1 month ago

If you are willing to create a PR, I am happy to review it.