Loading deploy/.env +1 −1 Original line number Diff line number Diff line CONFIG_PATH=/etc/node-exporter HOST_PATH=/rootfs HOST_DIRNAME=rootfs deploy/docker-compose.tmpl.yml +5 −5 Original line number Diff line number Diff line Loading @@ -6,11 +6,11 @@ services: user: root entrypoint: ${CONFIG_PATH}/entrypoint.sh command: - --path.rootfs=${HOST_PATH} - --path.sysfs=${HOST_PATH}/sys - --path.procfs=${HOST_PATH}/proc - --path.rootfs=/${HOST_DIRNAME} - --path.sysfs=/${HOST_DIRNAME}/sys - --path.procfs=/${HOST_DIRNAME}/proc - --collector.textfile.directory=${CONFIG_PATH} - --collector.filesystem.ignored-mount-points=^/(.+)($$|/) - --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|etc|${HOST_DIRNAME})($$|/) - --no-collector.ipvs environment: CONFIG_PATH: Loading @@ -18,7 +18,7 @@ services: networks: metric-net: volumes: - /:${HOST_PATH}:ro - /:/${HOST_DIRNAME}:ro - /etc/hostname:${CONFIG_PATH}/nodename:ro configs: - source: entrypoint-config Loading Loading
deploy/.env +1 −1 Original line number Diff line number Diff line CONFIG_PATH=/etc/node-exporter HOST_PATH=/rootfs HOST_DIRNAME=rootfs
deploy/docker-compose.tmpl.yml +5 −5 Original line number Diff line number Diff line Loading @@ -6,11 +6,11 @@ services: user: root entrypoint: ${CONFIG_PATH}/entrypoint.sh command: - --path.rootfs=${HOST_PATH} - --path.sysfs=${HOST_PATH}/sys - --path.procfs=${HOST_PATH}/proc - --path.rootfs=/${HOST_DIRNAME} - --path.sysfs=/${HOST_DIRNAME}/sys - --path.procfs=/${HOST_DIRNAME}/proc - --collector.textfile.directory=${CONFIG_PATH} - --collector.filesystem.ignored-mount-points=^/(.+)($$|/) - --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|etc|${HOST_DIRNAME})($$|/) - --no-collector.ipvs environment: CONFIG_PATH: Loading @@ -18,7 +18,7 @@ services: networks: metric-net: volumes: - /:${HOST_PATH}:ro - /:/${HOST_DIRNAME}:ro - /etc/hostname:${CONFIG_PATH}/nodename:ro configs: - source: entrypoint-config Loading