aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-05-28 17:33:07 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-05-28 17:33:07 +0100
commite89d3b9730db994f3e6d880a55c47e94497f5155 (patch)
tree10cad07d37f4279e8344717f39fe6c20cfc8e226
parent36635cbf2779f19631cb08b5d3bd49465307c20b (diff)
parent33ce73e8793df3c5bb3ddc3cbb640ce1b72849cc (diff)
downloadpower.eda.gay-e89d3b9730db994f3e6d880a55c47e94497f5155.tar.gz
power.eda.gay-e89d3b9730db994f3e6d880a55c47e94497f5155.zip
Merge branch 'master' of github.com:jwansek/power.eda.gay
-rw-r--r--docker-compose.yml8
-rw-r--r--prometheus/prometheus.yml4
2 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 0211b8f..c164e11 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -47,6 +47,7 @@ services:
- ./config.env
depends_on:
- influxdb
+ - pushgateway
restart: unless-stopped
volumes:
- ./switch-snmp/omada-switches.conf:/app/omada-switches.conf
@@ -57,6 +58,8 @@ services:
image: grafana/grafana:8.5.27
ports:
- 3000:3000
+ environment:
+ - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana-sankey-panel
depends_on:
- influxdb
- prometheus
@@ -73,6 +76,11 @@ services:
- --web.config.file=/etc/prometheus/web.yml
ports:
- 9090:9090
+ restart: unless-stopped
+
+ pushgateway:
+ image: prom/pushgateway
+ restart: unless-stopped
volumes:
diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml
index c9ded40..8411313 100644
--- a/prometheus/prometheus.yml
+++ b/prometheus/prometheus.yml
@@ -5,3 +5,7 @@ scrape_configs:
static_configs:
- targets:
- prometheus:9090
+ - job_name: pushgateway
+ static_configs:
+ - targets:
+ - pushgateway:9091