This commit is contained in:
2025-05-23 15:04:35 +02:00
parent f3acaf1b37
commit ec45dafef4
11 changed files with 227 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
services:
prometheus:
image: prom/prometheus:latest
volumes:
- /root/Docker/prometheus/etc:/etc/prometheus/
- /root/Docker/prometheus/data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9191:9090
restart: always