module
0.0.0-20230916062248-5122971fe00a
Repository: https://github.com/aceberg/lightalert.git
Documentation: pkg.go.dev
# README
LightAlert
Lightweight cron job monitoring
[!WARNING]
This is still WIP and can't guarantee correct work in all cases
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
- All go packages listed in dependencies
- Bootstrap
- Themes: Free themes for Bootstrap
- Favicon and logo: Bell icons created by Freepik - Flaticon
# Packages
No description provided by the author