philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.43k stars 216 forks source link

Health check support #498

Closed sidevesh closed 7 months ago

sidevesh commented 8 months ago

Would it be possible to add, if its not already possible somehow, a simple healthcheck endpoint to this so that it can be monitored from within container for example ?

philippe44 commented 8 months ago

What type of check would you consider? Because you can verify that it did not crash and that's pretty much most you should do. Otherwise, you could on the fly check the log for some specific things you'd like.

sidevesh commented 8 months ago

Anything compatible with https://docs.docker.com/engine/reference/builder/#healthcheck

Is there an existing command that can be used to check if airconnect is working okay or an endpoint to curl and get a success reaponse from maybe ?