diff --git a/dockprom/prometheus/prometheus.yml b/dockprom/prometheus/prometheus.yml index 25a29d4..05b3d96 100644 --- a/dockprom/prometheus/prometheus.yml +++ b/dockprom/prometheus/prometheus.yml @@ -34,7 +34,7 @@ scrape_configs: static_configs: - targets: ["pushgateway:9091"] - job_name: "dockerhub" - scrape_interval: 60s + scrape_interval: 300s honor_labels: true static_configs: - targets: ["home.toozhao.com:9170"] diff --git a/github-exporter/docker-compose.yaml b/github-exporter/docker-compose.yaml new file mode 100644 index 0000000..e550a07 --- /dev/null +++ b/github-exporter/docker-compose.yaml @@ -0,0 +1,11 @@ +version: "3.5" +services: + github-exporter: + tty: true + stdin_open: true + ports: + - 9171:9171 + image: infinityworks/github-exporter:latest + environment: + - REPOS=wahyd4/work-in-australia, wahyd4/aria2-ariang-docker, wahyd4/aria2-ariang-x-docker-compose + - GITHUB_TOKEN=6bc9a1aa2d8a13da59127d4184167acc84e7bbfa