Checks a URL and returns an icon for success / fail
237
Provides health checks based on the http status from an http request
xxl, xl, l, m, sm
# xxl:https://health.nickkelly.dev/check?url=https://health.nickkelly.dev/_health&size=xxl
# xl: https://health.nickkelly.dev/check?url=https://health.nickkelly.dev/_health&size=xl
# l: https://health.nickkelly.dev/check?url=https://health.nickkelly.dev/_health&size=lh
# m: https://health.nickkelly.dev/check?url=https://health.nickkelly.dev/_health&size=mh
# sm: https://health.nickkelly.dev/check?url=https://health.nickkelly.dev/_health&size=smh
# check if google returns good http status
# visit: https://health.nickkelly.dev/check?size=xl&url=https://google.com
# set bad=<bad image url> in the search
# visit: https://health.nickkelly.dev/check?size=xl&url=https://google.com&okay=https://tinyurl.com/y6kzednq&bad=https://tinyurl.com/yxvpcy7c
# set good=<good image url> in the search
# visit: https://health.nickkelly.dev/check?size=xl&url=https://google.com&good=https://tinyurl.com/y6kzednq
docker run \
--name health-checker \
-p 5000:5000 \
-e PORT=5000 \
-e LOG_DIR=./storage/logs \
-e LOG_MAX_SIZE=20m \
-e LOG_ROTATION_MAX_AGE=7d \
-e RATE_LIMIT_WINDOW_MS=60000 \
-e RATE_LIMIT_MAX=100 \
--rm \
nick3141/health:latest
version: "3"
services:
http_health_checker:
container_name: http_health_checker
image: nick3141/health:latest
restart: unless-stopped
ports:
- 5000:5000
environment:
- PORT=5000
# optional:
# - LOG_DIR=./storage/logs
# - LOG_MAX_SIZE=20m
# - LOG_ROTATION_MAX_AGE=7d
# - RATE_LIMIT_WINDOW_MS=60000
# - RATE_LIMIT_MAX=100
Content type
Image
Digest
Size
65.3 MB
Last updated
almost 6 years ago
docker pull nick3141/health