-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
40 lines (30 loc) · 1018 Bytes
/
env.example
File metadata and controls
40 lines (30 loc) · 1018 Bytes
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
# GovernsAI Precheck Environment Configuration
# Server Configuration
APP_BIND=0.0.0.0:8080
DEBUG=false
# Database Configuration
DB_URL=sqlite:///./local.db
# For PostgreSQL: DB_URL=postgresql://user:password@localhost/precheck
# Redis Configuration (optional)
# REDIS_URL=redis://localhost:6379
# Public Base URL (for cloud mode)
# PUBLIC_BASE=https://your-domain.com
# Presidio Configuration
USE_PRESIDIO=true
PRESIDIO_MODEL=en_core_web_sm
# API Configuration
API_KEY_HEADER=X-Governs-Key
# API_KEY=your-api-key-here # Optional: API key from .env (fallback if not in header)
# Webhook Configuration
# WEBHOOK_URL=ws://your-webhook-server:port/api/ws/gateway?key=API_KEY&org=ORG_ID&channels=org:ORG_ID:decisions
WEBHOOK_SECRET=dev-secret
PRECHECK_DLQ=/tmp/precheck.dlq.jsonl
WEBHOOK_TIMEOUT_S=2.5
WEBHOOK_MAX_RETRIES=3
WEBHOOK_BACKOFF_BASE_MS=150
# PII Tokenization
PII_TOKEN_SALT=default-salt-change-in-production
# Error Handling
ON_ERROR=block
# Policy Configuration
POLICY_FILE=policy.tool_access.yaml