mirror of
https://github.com/simon987/checkup-statuspage.git
synced 2025-04-10 14:06:41 +00:00
31 lines
1.1 KiB
JavaScript
31 lines
1.1 KiB
JavaScript
checkup.config = {
|
|
// How much history to show on the status page. Long durations and
|
|
// frequent checks make for slow loading, so be conservative.
|
|
// This value is in NANOSECONDS to mirror Go's time package.
|
|
"timeframe": 12 * time.Hour,
|
|
|
|
// How often, in seconds, to pull new checks and update the page.
|
|
"refresh_interval": 30,
|
|
|
|
// Configure read-only access to stored checks. This configuration
|
|
// depends on your storage provider. Any credentials and other values
|
|
// here will be visible to everyone, so use keys with ONLY read access!
|
|
"storage": {
|
|
// Amazon S3 - if using, ensure these are public, READ-ONLY credentials!
|
|
"AccessKeyID": "<key id here>",
|
|
"SecretAccessKey": "<not-so-secret key here>",
|
|
"Region": "<bucket region name here if you specified one>",
|
|
"BucketName": "<bucket name here>",
|
|
|
|
// Local file system (Caddy recommended: https://caddyserver.com)
|
|
"url": "https://status.simon987.net/data/"
|
|
},
|
|
|
|
// The text to display along the top bar depending on overall status.
|
|
"status_text": {
|
|
"healthy": "All services online",
|
|
"degraded": "Degraded Service",
|
|
"down": "Service Disruption"
|
|
}
|
|
};
|