mirror of
https://github.com/Noratrieb/uptime.git
synced 2026-01-14 16:45:06 +01:00
26 lines
470 B
Markdown
26 lines
470 B
Markdown
# uptime
|
|
|
|
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.
|