Sign inSign up

johnny15243/portainer_health

By johnny15243

•Updated over 5 years ago

Simple app to present Portainer-Entity-Health without login.

Image
0

66

johnny15243/portainer_health repository overview

⁠portainer_health

This is a simple quick&dirty SPRING app.

It has only one Job. Read healthdata from Portainer and present this data. This data could now be taken to check the health.

⁠Sample docker-run function
docker run -name health -e SERVER_PORT=8080 -e PH_HOST=portainer.domain.com -e PH_PORT=9000 -e PH_USER=apiUser -e PH_PWD=secretpassword123 johnny15243/portainer_health:0.1-alpha
⁠Environment-Vars Overview
ENVMeaning
SERVER_PORTSets the port for the App to run
PH_HOSTPortainer Host / IP
PH_PORTPortainer WebUI-Port
PH_USERPortainer WebUI-User with enaugh Permissions for accessing Entrypoints
PH_PWDPortainer WebUI-User password
⁠Sample-JSon output
[{
  "Image":"johnny15243/portainer_health:0.1-alpha"
  ,"State":"running"
  ,"Status":"Up 7 hours"
  ,"Names":["/rpi_health"]
}]

Tag summary

Content type

Image

Digest

Size

240.7 MB

Last updated

over 5 years ago

docker pull johnny15243/portainer_health:0.1-alpha