[add] prometheus

This commit is contained in:
Andy Bunce 2022-04-02 17:56:21 +01:00
parent a7ab015384
commit f92b76f266
4 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,15 @@
version: '3'
services:
prometheus:
image: prom/prometheus:v2.34.0
ports:
- 9000:9090
volumes:
- ./prometheus:/etc/prometheus
- prometheus-data:/prometheus
command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
volumes:
prometheus-data: