49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
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
|
|
|
|
# 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
|