From 9da164858c868c307bf77ccdc495d0056bdef239 Mon Sep 17 00:00:00 2001 From: pz2891 Date: Mon, 8 Feb 2021 19:31:59 +0100 Subject: [PATCH] Begin docker container monitoring --- README.md | 1 + docker-compose.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 790d633..6575940 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,4 @@ tout en vérifiant qu'il n'est lisible que par root. * 8084 -> EtherPad (pad) * 8085 -> Django CAS server (cas) * 8086 -> ShareLaTeX + * 8087 -> Docker exporter diff --git a/docker-compose.yml b/docker-compose.yml index f150033..9479bf1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -98,6 +98,14 @@ services: depends_on: - postgres + docker_exporter: + image: prometheusnet/docker_exporter + restart: always + ports: + - "8087:9417" + volumes: + - "/var/run/docker.sock:/var/run/docker.sock:ro" + # cas: # build: django-cas-server # restart: always