Installing Prometheus with docker-compose and Node Exporter on Debian 12
This guide is an introductory tutorial that shows how to install, configure, and use a basic instance of Prometheus using Docker Compose. Additionally, a Linux machine (in this case Debian 12) will be configured to expose its system metrics, which will be collected by Prometheus using Node Exporter.
Prerequisites Docker and Docker Compose installed A Linux machine with administrator privileges Creating files Creating the docker-compose All the files used in this post can be found in my github.