Moved node-exporter to host network.

This commit is contained in:
Joseph Hanson 2023-05-06 14:43:32 -05:00
parent 786724ae8d
commit ab5df120ff
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -16,23 +16,6 @@ set container name cloudflare-ddns memory '0'
set container name cloudflare-ddns restart 'on-failure' set container name cloudflare-ddns restart 'on-failure'
set container name cloudflare-ddns shared-memory '0' set container name cloudflare-ddns shared-memory '0'
# # coredns - main instance
# set container name coredns cap-add 'net-bind-service'
# set container name coredns image 'docker.io/coredns/coredns:1.10.1'
# set container name coredns memory '0'
# set container name coredns network services address '10.5.0.3'
# set container name coredns restart 'on-failure'
# set container name coredns shared-memory '0'
# set container name coredns volume config destination '/config'
# set container name coredns volume config source '/config/containers/coredns/config'
# set container name coredns volume config mode 'ro'
# set container name coredns volume corefile destination '/Corefile'
# set container name coredns volume corefile source '/config/containers/coredns/config/Corefile'
# set container name coredns volume corefile mode 'ro'
# set container name coredns volume vyoshosts destination '/host/etc/hosts'
# set container name coredns volume vyoshosts source '/etc/hosts'
# set container name coredns volume vyoshosts mode 'ro'
# bind # bind
set container name bind cap-add 'net-bind-service' set container name bind cap-add 'net-bind-service'
set container name bind image 'docker.io/internetsystemsconsortium/bind9:9.19' set container name bind image 'docker.io/internetsystemsconsortium/bind9:9.19'
@ -76,7 +59,7 @@ set container name node-exporter environment rootfs value '/host/rootfs'
set container name node-exporter environment sysfs value '/host/sys' set container name node-exporter environment sysfs value '/host/sys'
set container name node-exporter image 'quay.io/prometheus/node-exporter:v1.5.0' set container name node-exporter image 'quay.io/prometheus/node-exporter:v1.5.0'
set container name node-exporter memory '0' set container name node-exporter memory '0'
set container name node-exporter network services address '10.5.0.7' set container name node-exporter allow-host-networks
set container name node-exporter restart 'on-failure' set container name node-exporter restart 'on-failure'
set container name node-exporter shared-memory '0' set container name node-exporter shared-memory '0'
set container name node-exporter volume procfs source '/proc' set container name node-exporter volume procfs source '/proc'