index
id: cfdf66aa0705f27ca14b3883d85a28eedeca50c4a678a5e90e8638eb98f57e66
id (bech32): note1el0kd2s8qhe8eg2t8zpask3gam0v55xy5eu2t6gwscuwhx840enqs3eehc
sig: 628ceaef69202d9ed47eb8e88ebc35c13d9cdfefc040aebef2a5980bdae5109c626f6be82e5c9ee8ea9847b19a5b8047d77396e90d8f8f3404b43d513edc4c04
created_at: 2025-10-17 17:30:37 +0900
created_at (unix time): 1760689837
content:
とりあえず compose.yaml でこれ動かそう
services:
node-exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node_exporter
restart: unless-stopped
network_mode: host
pid: host
volumes: [ "/:/host:ro,rslave" ]
ports: [ "127.0.0.1:9100:9100" ]
command: [ "--path.rootfs=/host" ]
ref.
https://github.com/prometheus/node_exporterports は 127.0.0.1 からじゃないとアクセス出来ないようにしとかないとインターネット大公開時代が始まるので,気を付けよう.
JSON