quickupdate

This commit is contained in:
xcad2k
2021-09-22 16:20:49 +02:00
parent 0d6d3f00e8
commit 5d84281a3d
10 changed files with 84 additions and 84 deletions

58
docker-compose/prometheus-grafana/docker-compose.yml Normal file → Executable file
View File

@@ -1,30 +1,30 @@
---
version: '3'
volumes:
prometheus-data:
driver: local
grafana-data:
driver: local
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- "9090:9090"
volumes:
- /etc/prometheus:/config
- prometheus-data:/prometheus
restart: unless-stopped
command:
- "--config.file=/config/prometheus.yml"
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
---
version: '3'
volumes:
prometheus-data:
driver: local
grafana-data:
driver: local
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- "9090:9090"
volumes:
- /etc/prometheus:/config
- prometheus-data:/prometheus
restart: unless-stopped
command:
- "--config.file=/config/prometheus.yml"
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
restart: unless-stopped