-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (30 loc) · 884 Bytes
/
.env.example
File metadata and controls
39 lines (30 loc) · 884 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
# API Integration Framework - Environment Configuration
# Application
APP_ENV=development
APP_DEBUG=true
APP_SECRET_KEY=your-secret-key-here
# Database
DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/integrations_db
REDIS_URL=redis://localhost:6379/0
CELERY_BROKER_URL=redis://localhost:6379/1
# Rate Limiting
DEFAULT_RATE_LIMIT=100 # requests per minute
RATE_LIMIT_WINDOW=60 # seconds
# Retry Policy
DEFAULT_MAX_RETRIES=3
DEFAULT_RETRY_DELAY=5 # seconds
EXPONENTIAL_BACKOFF=true
# Circuit Breaker
CIRCUIT_BREAKER_THRESHOLD=5
CIRCUIT_BREAKER_TIMEOUT=30 # seconds
# Queue
RABBITMQ_URL=amqp://guest:guest@localhost:5672/
# Encryption (for credentials)
ENCRYPTION_KEY=your-32-byte-encryption-key-here
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
# Monitoring
PROMETHEUS_ENABLED=true
OPENTELEMETRY_ENABLED=true
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317