-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (33 loc) · 980 Bytes
/
.env.example
File metadata and controls
41 lines (33 loc) · 980 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
41
# RabbitMQ Connection
# IMPORTANT: Use strong passwords in production!
RABBITMQ_URL=amqp://guest:guest@localhost:5672/edi
# Connection Settings
RABBITMQ_PREFETCH_COUNT=10
RETRY_ATTEMPTS=60
RETRY_BASE_DELAY=1.0
PUBLISH_TIMEOUT=30.0
CONSUME_TIMEOUT=30.0
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=text
# Application
APP_NAME=rmq-middleware
APP_HOST=0.0.0.0
APP_PORT=8000
# =============================================================================
# Security Settings (PRODUCTION RECOMMENDED)
# =============================================================================
# API Key Authentication
# Set to true and provide a strong API key for production
API_KEY_ENABLED=false
API_KEY=your-secure-api-key-here
# Rate Limiting
# Limits requests per client IP per time window
RATE_LIMIT_ENABLED=false
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW_SECONDS=60
# Request Size Limits (bytes)
# Default 1MB, max 100MB
MAX_REQUEST_BODY_BYTES=1048576
# Input Validation
MAX_NAME_LENGTH=255