-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
55 lines (46 loc) · 2.01 KB
/
Copy path.env.sample
File metadata and controls
55 lines (46 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# .env.sample
# Copy this file to .env for local development.
# Only infrastructure config belongs here. Application behavior
# (checkers, intelligence, notify) is configured via Django Admin
# and pipeline definitions.
# Django
DJANGO_SECRET_KEY=
DJANGO_DEBUG=1
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
DJANGO_ENV=dev
DEPLOY_METHOD=bare
# Django CLI colors. Default palette paints INFOS yellow (looks like a warning).
# Override just the info level so warnings stay yellow but infos are readable.
DJANGO_COLORS=light;info=cyan
# API Key Authentication (enabled by default — set to 0 for local development)
API_KEY_AUTH_ENABLED=1
# Durable ingest: the webhook records each alert as a PENDING pipeline run and a
# broker-free drain (manage.py process_inbox) processes it. A drain MUST be running
# (systemd service or cron) or PENDING runs never process — see docs/Deployment.md.
# doctor warns once the PENDING backlog exceeds this depth.
INBOX_DEPTH_WARN=500
# Orchestration
ORCHESTRATION_MAX_RETRIES_PER_STAGE=3
ORCHESTRATION_BACKOFF_FACTOR=2.0
ORCHESTRATION_INTELLIGENCE_FALLBACK_ENABLED=1
ORCHESTRATION_METRICS_BACKEND=logging
# StatsD (only used when ORCHESTRATION_METRICS_BACKEND=statsd)
STATSD_HOST=localhost
STATSD_PORT=8125
STATSD_PREFIX=pipeline
# Cluster (multi-instance) — an agent pushes to a hub; a hub accepts pushes.
# Agent: set HUB_URL + INSTANCE_ID + HUB_API_KEY (token created on the hub).
# Hub: keep API_KEY_AUTH_ENABLED=1 and create an APIKey via `manage.py create_api_key`
# (an active key is what makes this node a receiver/hub).
# HUB_URL=https://monitoring-hub.example.com
# INSTANCE_ID=
# HUB_API_KEY=
# Logging
# LOGS_DIR=logs
# SSRF Protection — comma-separated hostnames/IPs allowed to bypass private-IP check
# Example: SSRF_ALLOWED_HOSTS=ollama.internal,10.0.1.50
# SSRF_ALLOWED_HOSTS=
# Django System Checks
# Silence specific checks during unrelated commands (migrate, runserver, etc.)
# The preflight command still shows all checks regardless.
# SILENCED_SYSTEM_CHECKS=checkers.W009,checkers.W010