Pulse/mock.env
rcourtman bb312ed022 Add Docker monitoring integration with agent-based architecture
Implements comprehensive Docker monitoring with a dedicated agent that collects
container metrics and reports them to the main Pulse server. Adds Docker-specific
alert rules and threshold management with a redesigned UI.

Backend changes:
- Add Docker agent binary with container metrics collection
- Implement Docker host and container models with CPU/memory tracking
- Add Docker-specific alert types (offline, state, health)
- Extend threshold system to support Docker resources
- Add WebSocket message types for Docker agent communication
- Implement Docker agent API endpoints for registration and metrics

Frontend changes:
- Add Docker monitoring page with host/container views
- Add Docker agent settings panel for configuration
- Reorganize thresholds page with Proxmox/Docker tabs
- Add Docker-specific alert threshold management
- Improve layout consistency with vertical stacking
- Fix defensive null checks and TypeScript errors

This change enables monitoring of Docker containers across multiple hosts
with the same alerting and threshold capabilities as Proxmox resources.
2025-10-05 17:51:16 +00:00

38 lines
1.4 KiB
Bash

# Mock Mode Configuration
# This file is part of the repository and provides default mock mode settings.
# Mock mode generates realistic test data for development without requiring real Proxmox infrastructure.
#
# Quick Start:
# npm run mock:on # Enable mock mode
# npm run mock:off # Disable mock mode
# npm run mock:edit # Edit this configuration
#
# The backend automatically reloads when this file changes (no manual restart needed).
#
# Documentation: docs/development/MOCK_MODE.md
# Enable/disable mock mode (false = use real Proxmox infrastructure)
PULSE_MOCK_MODE=false
# Number of mock nodes to generate (mix of clustered and standalone)
# First 5 nodes form a cluster, remaining nodes are standalone
PULSE_MOCK_NODES=7
# Average number of VMs per node
# Actual count varies based on node role (vm-heavy, container-heavy, light, mixed)
PULSE_MOCK_VMS_PER_NODE=5
# Average number of LXC containers per node
# Containers have lighter resource usage than VMs
PULSE_MOCK_LXCS_PER_NODE=8
# Enable realistic metric fluctuations (CPU, memory, disk, network)
# When true, metrics change every 2 seconds to simulate real workloads
PULSE_MOCK_RANDOM_METRICS=true
# Percentage of guests (VMs + containers) that should be in stopped state
# Set to 0 for all running, 100 for all stopped, 20 for realistic mix
PULSE_MOCK_STOPPED_PERCENT=20
# Local overrides (not tracked in git):
# Create mock.env.local for your personal settings - it will override these defaults