Track server config (selected files)

This commit is contained in:
cutemeli
2025-12-22 11:03:43 +00:00
parent 10d1afbb17
commit da62732947
2922 changed files with 114890 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
version: '3.8'
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ./prometheus:/etc/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
ports:
- "9090:9090"
restart: unless-stopped
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=supersecret
- GF_SERVER_ROOT_URL=https://monitor.cutemeli.com
volumes:
- ./grafana:/var/lib/grafana
depends_on:
- prometheus
restart: unless-stopped