Skip to content

Commit ca89d7a

Browse files
committed
Tweak monitor-net
1 parent feb6a80 commit ca89d7a

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

install/templates/grafana.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ services:
2020
- "{{.RocketPoolDirectory}}/grafana-prometheus-datasource.yml:/etc/grafana/provisioning/datasources/prometheus.yml"
2121
- "grafana-storage:/var/lib/grafana"
2222
networks:
23-
- net
23+
- monitor-net
2424
networks:
25-
net:
25+
monitor-net:
2626
volumes:
2727
grafana-storage:

install/templates/prometheus.tmpl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,7 @@ services:
2828
extra_hosts:
2929
- "host.docker.internal:host-gateway"
3030
networks:
31-
# Bridge so node-exporter can get the real NIC details
32-
# See https://stackoverflow.com/a/66689508 for more info
3331
monitor-net:
34-
driver: bridge
35-
ipam:
36-
driver: default
37-
config:
38-
- subnet: 172.23.0.0/16
39-
ip_range: 172.23.5.0/24
40-
gateway: 172.23.5.254
4132
net:
4233
volumes:
4334
prometheus-data:

0 commit comments

Comments
 (0)