version: '3.8' # Netdata - Real-Time System Performance Monitoring # Phase 3: Monitoring & Management # Ports: 19999 # GPU: No # Storage: Minimal (reads from host /proc and /sys) services: netdata: image: netdata/netdata:latest container_name: netdata restart: unless-stopped hostname: tower-of-joy ports: - "19999:19999" cap_add: - SYS_PTRACE # Required for process monitoring security_opt: - apparmor:unconfined volumes: - /proc:/host/proc:ro - /sys:/host/sys:ro - /var/run/docker.sock:/var/run/docker.sock:ro environment: - TZ=Europe/Amsterdam # Optional: Claim to Netdata Cloud for remote access # - NETDATA_CLAIM_TOKEN=your-claim-token # - NETDATA_CLAIM_URL=https://app.netdata.cloud healthcheck: test: ["CMD-SHELL", "curl -fSs http://localhost:19999/api/v1/info || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 30s networks: - docker-dataplane networks: docker-dataplane: external: true name: docker-dataplane # After Deployment: # 1. Access http://localhost:19999 # 2. Explore dashboard sections: # - CPU usage # - RAM usage # - Disk I/O # - Network traffic # - Docker containers # - GPU monitoring (if configured) # 3. Set up alerts (optional) # 4. Configure alarm notifications # # Features: # - Real-time graphs (1s granularity) # - Per-container metrics # - System health monitoring # - Historical data # - Low resource overhead