mirror of
https://github.com/Noratrieb/uptime.git
synced 2026-01-14 16:45:06 +01:00
write website
This commit is contained in:
parent
24abf6d98c
commit
7ff9a67148
15 changed files with 1580 additions and 38 deletions
23
README.md
23
README.md
|
|
@ -1,3 +1,26 @@
|
|||
# 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue