diff --git a/install/templates/grafana.tmpl b/install/templates/grafana.tmpl index d858d7952..441dfdb6b 100644 --- a/install/templates/grafana.tmpl +++ b/install/templates/grafana.tmpl @@ -20,8 +20,8 @@ services: - "{{.RocketPoolDirectory}}/grafana-prometheus-datasource.yml:/etc/grafana/provisioning/datasources/prometheus.yml" - "grafana-storage:/var/lib/grafana" networks: - - net + - monitor-net networks: - net: + monitor-net: volumes: grafana-storage: diff --git a/install/templates/prometheus.tmpl b/install/templates/prometheus.tmpl index 0bc2459e9..bf99acb37 100644 --- a/install/templates/prometheus.tmpl +++ b/install/templates/prometheus.tmpl @@ -28,16 +28,7 @@ services: extra_hosts: - "host.docker.internal:host-gateway" networks: - # Bridge so node-exporter can get the real NIC details - # See https://stackoverflow.com/a/66689508 for more info monitor-net: - driver: bridge - ipam: - driver: default - config: - - subnet: 172.23.0.0/16 - ip_range: 172.23.5.0/24 - gateway: 172.23.5.254 net: volumes: prometheus-data: