first add

This commit is contained in:
2024-08-28 15:18:15 +08:00
commit 873429d4e6
57 changed files with 4892 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
version: '3.8'
services:
prometheus:
build:
context: .
dockerfile: Dockerfile.prometheus
args:
PROMETHEUS_VERSION: "2.45.6"
HTTP_PROXY: "http://localhost:15777"
HTTPS_PROXY: "http://localhost:15777"
image: zly/prometheus:latest
container_name: prometheus
ports:
- "9090:9090"
volumes:
- ./prometheus.yml:/opt/prometheus/prometheus.yml
restart: unless-stopped
grafana:
build:
context: .
dockerfile: Dockerfile.grafana
args:
GRAFANA_VERSION: "9.5.2"
HTTP_PROXY: "http://localhost:15777"
HTTPS_PROXY: "http://localhost:15777"
image: zly/grafana:latest
container_name: grafana
ports:
- "3000:3000"
volumes:
- ./grafana.ini:/etc/grafana/grafana.ini
restart: unless-stopped