Remove SBOM and Security scan, update docker-compose
Some checks failed
CI/CD Pipeline - Build, Test, and Deploy / 🔒 Security Scan (push) Successful in 9m29s
CI/CD Pipeline - Build, Test, and Deploy / 🧹 Cleanup (push) Successful in 1s
CI/CD Pipeline - Build, Test, and Deploy / 🧪 Test & Lint (push) Successful in 9m33s
CI/CD Pipeline - Build, Test, and Deploy / 🏗️ Build & Push Image (push) Successful in 29s
CI/CD Pipeline - Build, Test, and Deploy / 🛡️ Image Security Scan (push) Failing after 18s

This commit is contained in:
2025-07-03 11:04:46 -06:00
parent e6fa8a868d
commit a2cff31126

View File

@ -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