Skip to content

Autobuild relevant nginx-vts container image

Notifications You must be signed in to change notification settings

akmalovaa/nginx-vts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nginx-vts prometheus



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:

Commands

pull

docker pull ghcr.io/akmalovaa/nginx-vts

or manual build

git clone https://github.com/akmalovaa/nginx-vts.git .
docker build . -t ghcr.io/akmalovaa/nginx-vts --build-arg VERSION=1.27.0

run

docker run -p 80:80 -p 9991:9991 ghcr.io/akmalovaa/nginx-vts

Monitoring

Prometheus format:

Prometheus job config example

  - job_name: nginx-vts
    scrape_interval: 15s
    scrape_timeout: 10s
    metrics_path: /metrics
    scheme: http
    static_configs:
      - targets: ['YOUR_IP:9991']

nginx prometheus

Grafana dashboards example

https://grafana.com/grafana/dashboards/14824-nginx-vts-stats/

https://grafana.com/grafana/dashboards/?search=Nginx+VTS

nginx grafana

Web format example screenshot from the repo vozlt/nginx-module-vts

nginx vts


todo:

  • auto upgarde to main nginx release version
  • auto update badges
  • save and show display trivy image scan results