-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
91 lines (74 loc) · 1.94 KB
/
.env.example
File metadata and controls
91 lines (74 loc) · 1.94 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
# POLLN Environment Configuration
# Copy this file to .env and update with your values
# Application
NODE_ENV=production
POLLN_HOME=/app/.polln
# API Server
POLLN_API_PORT=3000
POLLN_API_HOST=0.0.0.0
# Authentication
POLLN_AUTH_ENABLED=true
POLLN_AUTH_JWT_SECRET=CHANGE_THIS_IN_PRODUCTION_MIN_32_CHARS
POLLN_AUTH_TOKEN_EXPIRES_IN=86400
# Rate Limiting
POLLN_RATE_LIMIT_ENABLED=true
POLLN_RATE_LIMIT_RPM=1000
POLLN_RATE_LIMIT_BURST=100
# Logging
POLLN_LOG_LEVEL=info
POLLN_LOG_FORMAT=json
# Redis
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=
REDIS_HOST=localhost
REDIS_PORT=6379
# Database
DATABASE_URL=postgresql://polln:password@localhost:5432/polln
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=polln
DATABASE_USER=polln
DATABASE_PASSWORD=password
DATABASE_SSL=true
# KV Cache
POLLN_KV_CACHE_ENABLED=true
POLLN_KV_CACHE_MAX_SIZE=1000000
POLLN_KV_CACHE_TTL=3600
POLLN_KV_CACHE_COMPRESSION=true
# Dreaming
POLLN_DREAMING_ENABLED=true
POLLN_DREAMING_EPISODE_COUNT=100
POLLN_DREAMING_INTERVAL=86400
POLLN_DREAMING_WORLD_MODEL_PATH=/app/.polln/worldmodel
# Federation
POLLN_FEDERATION_ENABLED=true
POLLN_FEDERATION_SYNC_INTERVAL=3600
POLLN_FEDERATION_ENDPOINTS=[]
# Meadow
POLLN_MEADOW_ENABLED=true
POLLN_MEADOW_ENDPOINT=https://meadow.polln.example.com
# Monitoring
POLLN_METRICS_ENABLED=true
POLLN_METRICS_PORT=9090
POLLN_TRACING_ENABLED=true
POLLN_TRACING_ENDPOINT=http://jaeger:14268/api/traces
POLLN_TRACING_SAMPLE_RATE=0.1
# Health Checks
POLLN_HEALTH_CHECK_INTERVAL=30000
POLLN_HEALTH_CHECK_TIMEOUT=10000
# Feature Flags
POLLN_FEATURE_MULTI_COLONY=true
POLLN_FEATURE_LORA_TRAINING=true
POLLN_FEATURE_BYTECODE_EXECUTION=true
POLLN_FEATURE_GRAPH_EVOLUTION=true
# External Services
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=sk-ant-...
# GOOGLE_CREDENTIALS=/path/to/credentials.json
# Node.js
NODE_OPTIONS=--max-old-space-size=4096
UV_THREADPOOL_SIZE=16
# Development (only for development)
NODE_ENV=development
POLLN_DEBUG=true
POLLN_HOT_RELOAD=true