Home Catalogus Prometheus Stack
System Tools

Prometheus Stack

Prometheus, a Cloud Native Computing Foundation project, is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts when specified conditions are observed. This stack includes Prometheus, Node Exporter, and cAdvisor for comprehensive system and container monitoring.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Geen Lock-in)
RAM Profiel: Gemiddeld
Standaard Poort: Port 9090

Waarom deze configuratie?

Snelle Start (Standalone Docker Compose)

Onderstaand compose-fragment is direct te gebruiken in elke Docker- of Podman-omgeving:

services:
  prometheus:
    image: "prom/prometheus:v2.54.1"
    container_name: njorddeploy-prometheus
    restart: unless-stopped
    user: "0:0"
    ports:
      - "9090:9090"
    volumes:
      - "data_root/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro"
      - "./data/prometheus/data:/prometheus"
    command:
      - "--config.file=/etc/prometheus/prometheus.yml"
      - "--storage.tsdb.path=/prometheus"
    networks:
      - njorddeploy_net

  node-exporter:
    image: prom/node-exporter:v1.8.2
    container_name: njorddeploy-node-exporter
    restart: unless-stopped
    user: "0:0"
    volumes:
      - "/proc:/host/proc:ro"
      - "/sys:/host/sys:ro"
      - "/:/rootfs:ro"
    command:
      - "--path.procfs=/host/proc"
      - "--path.rootfs=/rootfs"
      - "--path.sysfs=/host/sys"
    networks:
      - njorddeploy_net

  cadvisor:
    image: gcr.io/cadvisor/cadvisor:v0.47.0
    container_name: njorddeploy-cadvisor
    restart: unless-stopped
    user: "0:0"
    ports:
      - "8080:8080"
    volumes:
      - "/:/rootfs:ro"
      - "/var/run:/var/run:rw"
      - "/sys:/sys:ro"
      - "/var/lib/docker/:/var/lib/docker:ro"
    networks:
      - njorddeploy_net

networks:
  njorddeploy_net:

Start de service direct via de commandline: docker compose up -d

Configuratie & Omgevingsvariabelen

Belangrijkste configuratieparameters en standaardwaarden uit de NjordDeploy component-sjabloon:

Variable Default Value Description
PROMETHEUS_WEB_PORT 9090 The port Prometheus will listen on for its web interface.
PROMETHEUS_DATA_PATH /opt/njorddeploy/data/prometheus/data The path where Prometheus stores its time-series data.
CADVISOR_WEB_PORT 8080 The port cAdvisor will listen on for its web interface.

Ecosysteem & Bedrijfsintegratie

Eenvoudig beheren via NjordDeploy

Installeer, bewaak en update deze service met 1 klik op uw eigen Raspberry Pi of Proxmox server via de NjordDeploy Configurator.