Ajout de prometheus

This commit is contained in:
2024-10-25 23:36:06 +02:00
parent 1e6ec0890a
commit 65eebd60e3
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
version: "3.8"
services:
prometheus:
image: prom/prometheus
container_name: prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yml"
ports:
- 3002:9090
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheus
- prom_data:/prometheus
volumes:
prom_data: