Simple nginx-vts image updater:
- Auto update current version nginx-alpine
- VTS module build
- Trivy scan image for vulnerabilities
VTS: Nginx virtual host traffic status module
Main links:
- docker-nginx - https://github.com/nginxinc/docker-nginx
- nginx-module-vts - https://github.com/vozlt/nginx-module-vts
docker pull ghcr.io/akmalovaa/nginx-vts
git clone https://github.com/akmalovaa/nginx-vts.git .
docker build . -t ghcr.io/akmalovaa/nginx-vts --build-arg VERSION=1.27.0
docker run -p 80:80 -p 9991:9991 ghcr.io/akmalovaa/nginx-vts
- Prometheus: http://localhost:9991/metrics
- Web: http://localhost:9991/vts
- job_name: nginx-vts
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets: ['YOUR_IP:9991']
https://grafana.com/grafana/dashboards/14824-nginx-vts-stats/
https://grafana.com/grafana/dashboards/?search=Nginx+VTS
Web format example screenshot from the repo vozlt/nginx-module-vts
todo:
- auto upgarde to main nginx release version
- auto update badges
- save and show display trivy image scan results