Skip to content

🏥 AppDaemon healthcheck app. Can be used as a docker-compose healthcheck.

License

Notifications You must be signed in to change notification settings

benleb/ad-healthcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

healthcheck

hacs_badge

Simple AppDaemon healthcheck app. Can be used as a docker-compose healthcheck.

Installation

Use HACS or download the healthcheck directory from inside the apps directory here to your local apps directory, then add the configuration to enable the healthcheck module.

App configuration

healthcheck:
  module: healthcheck
  class: Healthcheck
  endpoint: healthcheck
key optional type default description
module False string The module name of the app.
class False string The name of the Class.
endpoint True string healthcheck The endpoint URL which will be registered.

docker-compose configuration

healthcheck:
  test: ["CMD", "curl", "-X", "POST", "-H", "Content-Type: application/json", "-d", "{}", "https://<appdaemon URL>:5050/api/appdaemon/<endpoint>"]
  interval: 45s
  timeout: 3s
  retries: 5