A ready-to-run Loki + Grafana stack that parses Nginx Proxy Manager access and error logs into a pre-built dashboard.
NPM Log Files ──> Promtail ──> Loki ──> Grafana
(your host) (parse) (store) (visualize)
-
Copy and edit the environment file:
cp .env.example .env
Set
NPM_LOG_DIRto your NPM logs directory (default:/data/compose/1/data/logs). -
Start the stack:
docker compose up -d
-
Open Grafana at http://localhost:3000 (default login:
admin/admin).
The Nginx Proxy Manager Logs dashboard is pre-loaded and ready to use.