From a2cff31126ddb412a4fb0a7f4198b8b5b7ee6341 Mon Sep 17 00:00:00 2001 From: stephenminakian Date: Thu, 3 Jul 2025 11:04:46 -0600 Subject: [PATCH] Remove SBOM and Security scan, update docker-compose --- docker-compose.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 462f9a7..49e5ebe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: monitoring-dashboard: build: @@ -10,11 +8,19 @@ services: environment: - NODE_ENV=development - PORT=3000 + - MONITOR_HOST=true # Flag to enable host monitoring volumes: - ./src:/app/src:ro - ./package.json:/app/package.json:ro - ./package-lock.json:/app/package-lock.json:ro + # Mount host system information (read-only) + - /proc:/host/proc:ro + - /sys:/host/sys:ro + - /:/host/root:ro,rslave restart: unless-stopped + # Grant access to host system information + privileged: false + pid: "host" # Share host PID namespace to see host processes healthcheck: test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })"] interval: 30s