LightAlert

module
v0.0.0-...-5122971 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: MIT

README

Main-Docker Go Report Card Maintainability Docker Image Size (latest semver)

LightAlert

Lightweight cron job monitoring

[!WARNING]
This is still WIP and can't guarantee correct work in all cases

Screenshot

Quick start

docker run --name lightalert \
-e "TZ=Asia/Novosibirsk" \
-v ~/.dockerdata/LightAlert:/data/LightAlert \
-p 8846:8846 \
aceberg/lightalert

Or use docker-compose.yml

Config

Configuration can be done through config file or environment variables

Variable Description Default
DB Path to Database /data/LightAlert/sqlite.db
DELOLD Delete records older than (days) 120
HOST Listen address 0.0.0.0
PORT Port for web GUI 8846
THEME Any theme name from https://bootswatch.com in lowcase darkly
SHOW How many lines to show on index page 25
YAMLPATH Path to hosts yaml file /data/LightAlert/hosts.yaml
TZ Set your timezone for correct time ""

Options

Key Description Default
-c Path to config file /data/LightAlert/config.yaml
-d Path to SQLite DB file /data/LightAlert/sqlite.db
-h Path to hosts yaml file /data/LightAlert/hosts.yaml

Thanks

Directories

Path Synopsis
cmd
LightAlert command
internal
db
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL