Getting StartedConfiguration
Configuration
Configure Valqore with environment variables, policy files, and notification channels.
Configuration
Valqore is configured through environment variables and YAML files in your project's .valqore/ directory.
Environment Variables
| Variable | Description | Default |
|---|---|---|
VALQORE_TENANT_ID | Tenant identifier for isolated memory | default |
VALQORE_MEMORY_BACKEND | Storage backend: local, postgresql, s3 | local |
VALQORE_MEMORY_ENCRYPTION_KEY | Encryption key for data at rest | -- |
VALQORE_MEMORY_RETENTION_DAYS | Auto-purge after N days | 365 |
VALQORE_SLACK_WEBHOOK | Slack notification URL | -- |
VALQORE_TEAMS_WEBHOOK | Teams notification URL | -- |
VALQORE_PAGERDUTY_ROUTING_KEY | PagerDuty routing key | -- |
VALQORE_AI_PROVIDER | AI provider: azure_openai, anthropic, ollama | ollama |
VALQORE_OLLAMA_MODEL | Ollama model name | valqore |
VALQORE_DATABASE_URL | PostgreSQL connection URL | -- |
VALQORE_CORS_ORIGINS | Allowed CORS origins | * |
Configuration Files
| Path | Purpose |
|---|---|
.valqore/policy.yaml | Environment promotion policies |
.valqore/notifications.yaml | Notification channels and routing |
.valqore/compliance-packs/ | Custom compliance packs |
.valqore/inventory.yaml | On-prem resource inventory |
.valqore/triage/ | Incident memory storage |
policy.yaml
# .valqore/policy.yaml
environments:
staging:
min_score: 60
block_on:
- public_s3
- no_resource_limits
require_review: false
production:
min_score: 80
block_on:
- public_s3
- no_resource_limits
- root_container
- missing_health_check
require_review: true
max_monthly_cost: 5000notifications.yaml
# .valqore/notifications.yaml
channels:
- name: slack-ops
type: slack
webhook: ${VALQORE_SLACK_WEBHOOK}
events:
- evaluation.block
- checkup.critical
- name: teams-finance
type: teams
webhook: ${VALQORE_TEAMS_WEBHOOK}
events:
- cost.anomaly
- cost.threshold_exceeded
- name: pagerduty-oncall
type: pagerduty
routing_key: ${VALQORE_PAGERDUTY_ROUTING_KEY}
events:
- checkup.critical
- reliability.incidentcompliance-packs/
# .valqore/compliance-packs/hipaa.yaml
name: HIPAA
version: "1.0"
min_score: 80
max_critical: 0inventory.yaml
# .valqore/inventory.yaml
hosts:
- name: app-server-01
address: 10.0.1.10
role: application
os: ubuntu-22.04
cpu: 8
memory_gb: 32
tags:
team: platform
environment: productiontriage/
Valqore stores incident memory here for learning from past issues. Files are created automatically.
# .valqore/triage/2026-03-15-oom-kill.yaml
incident:
date: "2026-03-15"
service: payments-api
type: oom_kill
description: Pod killed due to memory limit exceeded
root_cause: Memory leak in connection pool
resolution: Upgraded library and set pool max size
labels:
severity: high
environment: productionWas this helpful?
Prev