diff --git a/se_bootstrap.sh b/se_bootstrap.sh index a82e077..c4b6e2c 100644 --- a/se_bootstrap.sh +++ b/se_bootstrap.sh @@ -74,6 +74,20 @@ volumes: shared: services: + node-exporter: + image: prom/node-exporter:latest + network_mode: host + restart: unless-stopped + volumes: + - /proc:/host/proc:ro + - /sys:/host/sys:ro + - /:/rootfs:ro + command: + - '--path.procfs=/host/proc' + - '--path.rootfs=/rootfs' + - '--path.sysfs=/host/sys' + - '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)' + - '--no-collector.arp' se2: image: mammothcyber/se:latest network_mode: host @@ -90,6 +104,9 @@ services: - network_type="$network_type" - network_name="$network_name" - service_edge_number="$service_edge_number" + - metrics_server="http://127.0.0.1:9100/metrics" + - streaming_server_metrics_port="9101" + - streaming_server_updater_port="7402" - HTTP_PROXY=$proxyUrl volumes: - ./:/home/se/conf/