services: prometheus: image: prom/prometheus container_name: prometheus restart: unless-stopped ports: - "9090:9090" volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml node-exporter: image: prom/node-exporter container_name: node-exporter restart: unless-stopped ports: - "9100:9100"