Files
docker-compose-cookbooks/ntfy
2025-03-02 16:04:09 -08:00
..
2025-03-02 16:04:09 -08:00
2024-08-01 14:24:06 -07:00

ntfy

Overview

Proxy Port: 80

Healthcheck

You can add a healthcheck to docker compose like so:

healthcheck: # optional: remember to adapt the host:port to your environment
      test: ["CMD-SHELL", "wget -q --tries=1 https://yourdomain.com/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
      interval: 60s
      timeout: 10s
      retries: 3
      start_period: 40s