-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
126 lines (93 loc) · 3.41 KB
/
Copy path.env.example
File metadata and controls
126 lines (93 loc) · 3.41 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# DEF Core - Environment Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# LLM Provider Configuration
# =============================================================================
# OpenAI API (Optional)
# OPENAI_API_KEY=sk-...
# Anthropic API (Optional)
# ANTHROPIC_API_KEY=sk-ant-...
# Custom Provider (Optional)
# CUSTOM_API_KEY=...
# CUSTOM_API_BASE=https://api.example.com/v1
# =============================================================================
# Memory System Configuration
# =============================================================================
# Vector Database (Chroma/Weaviate)
# VECTOR_DB_TYPE=chroma
# VECTOR_DB_PATH=./data/vector_db
# CHROMA_PERSISTENCE_DIR=./data/chroma
# SQLite Database
# SQLITE_DB_PATH=./data/def_core.db
# Redis Cache (Optional)
# REDIS_HOST=localhost
# REDIS_PORT=6379
# REDIS_PASSWORD=
# =============================================================================
# Channel Configuration
# =============================================================================
# WeChat (Optional)
# WECHAT_APP_ID=
# WECHAT_APP_SECRET=
# WECHAT_TOKEN=
# DingTalk (Optional)
# DINGTALK_APP_KEY=
# DINGTALK_APP_SECRET=
# Feishu/Lark (Optional)
# FEISHU_APP_ID=
# FEISHU_APP_SECRET=
# FEISHU_VERIFICATION_TOKEN=
# Slack (Optional)
# SLACK_BOT_TOKEN=xoxb-...
# SLACK_SIGNING_SECRET=
# Email (Optional)
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USER=
# SMTP_PASSWORD=
# =============================================================================
# Enterprise Integration (Optional)
# =============================================================================
# CRM System
# CRM_API_KEY=
# CRM_API_BASE=https://crm.example.com/api
# ERP System
# ERP_API_KEY=
# ERP_API_BASE=https://erp.example.com/api
# =============================================================================
# Security Configuration
# =============================================================================
# JWT Secret for Authentication
# JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Encryption Key for Sensitive Data (AES-256)
# ENCRYPTION_KEY=your-32-byte-encryption-key-here
# =============================================================================
# Runtime Configuration
# =============================================================================
# Environment: development, staging, production
# DEF_ENV=development
# Log Level: DEBUG, INFO, WARNING, ERROR, CRITICAL
# LOG_LEVEL=INFO
# Enable/Disable Sandbox Execution
# SANDBOX_ENABLED=true
# Sandbox Docker Socket (for local development)
# DOCKER_SOCKET=/var/run/docker.sock
# =============================================================================
# Performance Configuration
# =============================================================================
# Max Concurrent Tasks
# MAX_CONCURRENT_TASKS=10
# Task Timeout (seconds)
# TASK_TIMEOUT=300
# Memory Retention Days (for episodic memory)
# MEMORY_RETENTION_DAYS=90
# =============================================================================
# Monitoring & Observability (Optional)
# =============================================================================
# Sentry DSN (Error Tracking)
# SENTRY_DSN=https://...@sentry.io/...
# Prometheus Metrics Endpoint
# PROMETHEUS_PORT=9090
# Jaeger Tracing (Optional)
# JAEGER_AGENT_HOST=localhost
# JAEGER_AGENT_PORT=6831