No description
Find a file
2023-08-31 21:05:55 +02:00
migrations write website 2023-08-31 20:46:44 +02:00
src write website 2023-08-31 20:46:44 +02:00
templates write website 2023-08-31 20:46:44 +02:00
.dockerignore docker 2023-08-31 20:58:24 +02:00
.gitignore write website 2023-08-31 20:46:44 +02:00
build.rs write website 2023-08-31 20:46:44 +02:00
Cargo.lock write website 2023-08-31 20:46:44 +02:00
Cargo.toml write website 2023-08-31 20:46:44 +02:00
Dockerfile fix build 2023-08-31 21:05:55 +02:00
flake.lock Initial commit 2023-08-30 19:17:03 +02:00
flake.nix write website 2023-08-31 20:46:44 +02:00
LICENSE Initial commit 2023-08-30 17:42:41 +02:00
README.md write website 2023-08-31 20:46:44 +02:00
rust-toolchain.toml Initial commit 2023-08-30 19:17:03 +02:00
uptime.json write website 2023-08-31 20:46:44 +02:00

uptime

custom uptime monitoring tool.

config

JSON file located at $UPTIME_CONFIG_PATH, defaults to ./uptime.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.