.env file, or container orchestration system.
Panguard Guard
Guard uses a three-layer AI system. At minimum, configure
OLLAMA_ENDPOINT for local analysis (Layer 1). Add ANTHROPIC_API_KEY or OPENAI_API_KEY for cloud-based analysis (Layer 2/3).Panguard Threat Cloud
ALLOW_ANONYMOUS_UPLOAD=true enables users to submit threat data without an API key. Uploaded data still goes through validation and reputation scoring.Docker / Production
Setting
NODE_ENV=production:
- Disables debug logging and stack traces in error responses
- Enables response compression
- Enables stricter security headers
- Disables development-only routes
Precedence
Environment variables take precedence over configuration file values. The resolution order is:- Environment variables (highest priority)
- Configuration file values (
config.json) - Built-in defaults (lowest priority)