Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

442 B
Raw Blame
#!/bin/sh
# Docker health check script for Pulse
# Automatically uses HTTPS when HTTPS_ENABLED=true

if [ "$HTTPS_ENABLED" = "true" ] || [ "$HTTPS_ENABLED" = "1" ]; then
    # Use HTTPS with --no-check-certificate to handle self-signed certs
    wget --no-verbose --tries=1 --spider --no-check-certificate https://localhost:7655/api/health || exit 1
else
    wget --no-verbose --tries=1 --spider http://localhost:7655/api/health || exit 1
fi