Ctrl K
ComunidadGuías…

docker-healthcheck.sh

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#!/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