mirror of
https://github.com/Noratrieb/uptime.git
synced 2026-01-14 08:35:07 +01:00
28 lines
523 B
Markdown
28 lines
523 B
Markdown
# uptime
|
|
|
|
⚠️ uptime.noratrieb.dev has been retired ⚠️
|
|
|
|
custom uptime monitoring tool.
|
|
|
|
## config
|
|
|
|
JSON file located at `$UPTIME_CONFIG_PATH`, defaults to `./uptime.json`.
|
|
|
|
```json
|
|
{
|
|
"interval_seconds": 30,
|
|
"websites": [
|
|
{
|
|
"name": "nilstrieb.dev",
|
|
"url": "https://nilstrieb.dev"
|
|
},
|
|
{
|
|
"name": "google.com",
|
|
"url": "https://google.com"
|
|
}
|
|
],
|
|
"db_url": "sqlite::memory:"
|
|
}
|
|
```
|
|
|
|
`db_url` can be overriden with `$UPTIME_DB_URL` and defaults to `./uptime.db` if not present.
|