-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
62 lines (51 loc) · 1.62 KB
/
env.example
File metadata and controls
62 lines (51 loc) · 1.62 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
# Database Configuration
DATABASE_URL=postgresql://tms_user:tms_password@localhost:5432/tms_db
REDIS_URL=redis://localhost:6379
# AI Service Configuration
OPENAI_API_KEY=sk-your-openai-key-here
GOOGLE_TRANSLATE_API_KEY=your-google-translate-key
MICROSOFT_TRANSLATOR_KEY=your-microsoft-translator-key
# Performance Configuration
MAX_BUNDLE_SIZE=14000 # 14kB limit
MAX_RENDER_TIME=16 # 16ms limit
MAX_MEMORY_USAGE=52428800 # 50MB limit
MIN_CACHE_HIT_RATE=0.9 # 90% minimum
# Compression Settings
COMPRESSION_LEVEL=9
DICTIONARY_SIZE=65536
ENABLE_DELTA_COMPRESSION=true
# Security Settings
JWT_SECRET=your-super-secret-jwt-key
ENCRYPTION_KEY=your-32-character-encryption-key
SESSION_TIMEOUT=3600
# Client-Side Settings
ENABLE_SQLITE_WASM=true
ENABLE_V8_WORKERS=true
TM_LOCAL_STORAGE_SIZE=52428800 # 50MB
# Development Settings
NODE_ENV=development
LOG_LEVEL=debug
ENABLE_HOT_RELOAD=true
# Production Settings (uncomment for production)
# NODE_ENV=production
# LOG_LEVEL=error
# ENABLE_HOT_RELOAD=false
# SSL_CERT_PATH=/path/to/cert.pem
# SSL_KEY_PATH=/path/to/key.pem
# Monitoring and Analytics
ENABLE_PERFORMANCE_MONITORING=true
METRICS_ENDPOINT=http://localhost:9090
SENTRY_DSN=your-sentry-dsn-here
# File Processing
MAX_FILE_SIZE=104857600 # 100MB
SUPPORTED_FORMATS=xliff,tmx,tbx,json,po,properties
TEMP_DIRECTORY=/tmp/tms
# Cloud Storage (optional)
# AWS_ACCESS_KEY_ID=your-aws-access-key
# AWS_SECRET_ACCESS_KEY=your-aws-secret-key
# AWS_BUCKET_NAME=your-s3-bucket
# AZURE_STORAGE_CONNECTION_STRING=your-azure-connection
# Feature Flags
ENABLE_EXPERIMENTAL_FEATURES=false
ENABLE_AUTO_OPTIMIZATION=true
ENABLE_PREDICTIVE_PRELOADING=true