Skip to content

Commit 82bb447

Browse files
authored
Merge pull request #322 from Paraphraser/20210417-prometheus-networks
Adds iotstack_nw definition to prometheus containers
2 parents ad26fae + 18bb40b commit 82bb447

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.templates/prometheus/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ prometheus:
1111
command:
1212
- '--config.file=/etc/prometheus/config.yml'
1313
- '--storage.tsdb.path=/data'
14+
networks:
15+
- iotstack_nw

.templates/prometheus/service_cadvisor-arm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
- /var/run:/var/run:rw
1212
- /sys:/sys:ro
1313
- /var/lib/docker/:/var/lib/docker:ro
14+
networks:
15+
- iotstack_nw

.templates/prometheus/service_node-exporter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
restart: unless-stopped
55
expose:
66
- 9100
7+
networks:
8+
- iotstack_nw

0 commit comments

Comments
 (0)