STS status monitor https://status-sts.kaas.kit.edu/
|
1 year ago | |
---|---|---|
config | 4 years ago | |
pictures | 4 years ago | |
wgts | 4 years ago | |
.gitignore | 4 years ago | |
.htaccess | 3 years ago | |
.htpasswd | 1 year ago | |
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
STS_channels.php | 3 years ago | |
STS_functions.php | 4 years ago | |
STS_main.php | 3 years ago | |
docker-compose.yml | 4 years ago | |
index.php | 4 years ago | |
index.php.backup | 4 years ago | |
phplot.php | 4 years ago | |
phplot_myscript.php | 4 years ago |
Setup builds on Ubuntu 18.04 (bionic) and starts server + polling process.
Build & run locally:
docker build -t sts-status-monitor .
docker run -p 8001:80 --name sts-status sts-status-monitor
docker rm -f sts-status # terminates container
Runtime arguments:
POLL_INTERVAL
- polling interval for background process (default: 0 seconds = disabled)POLL_SCRIPTS
- list of PHP scripts to run in parallel for polling (default: none)