Files
portainer-core/stacks/netdata.yml
T
jpmschweitzerandClaude Opus 4.5 75c3950dd8 feat: add Docker healthchecks, remove Uptime Kuma
- Add healthcheck configurations to 13 stacks for Portainer status monitoring
- Remove Uptime Kuma service (replaced by Docker healthchecks)
- Clean up stale Heimdall references
- Update documentation and service counts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 12:05:05 +01:00

62 lines
1.5 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
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