Permalink
Browse files

Basic Prometheus service

  • Loading branch information...
doismellburning committed Aug 24, 2018
1 parent cb3956c commit 8a6040c05281588f86f3100b1b768606e44632e0
Showing with 23 additions and 0 deletions.
  1. +1 −0 Makefile
  2. +17 −0 prometheus/docker-compose.yml
  3. +5 −0 prometheus/prometheus.yml
@@ -8,3 +8,4 @@ install:
systemctl enable docker-compose@traefik
systemctl enable docker-compose@hadashboard
systemctl enable docker-compose@homeassistant
systemctl enable docker-compose@prometheus
@@ -0,0 +1,17 @@
version: '3'

networks:
proxy:
external: true

services:
prometheus:
image: prom/prometheus
networks:
- proxy
volumes:
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
labels:
traefik.backend: "prometheus"
traefik.port: 9090
traefik.frontend.rule: "Host:prometheus.srv.lair.doismellburning.co.uk"
@@ -0,0 +1,5 @@
scrape_configs:
- job_name: 'node'
static_configs:
- targets:
- 'mazikeen.lair.doismellburning.co.uk:9100'

0 comments on commit 8a6040c

Please sign in to comment.