-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
39 lines (30 loc) · 903 Bytes
/
Copy pathenv.example
File metadata and controls
39 lines (30 loc) · 903 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
# PII Anonymizer API Configuration
# Copy this file to .env and modify the values as needed
# Application Configuration
DEFAULT_LANGUAGE=en
LOG_LEVEL=INFO
MAX_TEXT_LENGTH=10000
SUPPORTED_LANGUAGES=en,es,fr,de,it
ANONYMIZER_ENCRYPT_KEY=*****
# CORS Configuration
CORS_ORIGINS=*
# Server Configuration (for uvicorn)
HOST=0.0.0.0
PORT=8000
WORKERS=1
# Development/Production Environment
ENVIRONMENT=development
# Logging Configuration
LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s
LOG_FILE=logs/app.log
# Security Configuration (if implementing authentication)
# SECRET_KEY=your-secret-key-here
# ACCESS_TOKEN_EXPIRE_MINUTES=30
# Database Configuration (if adding persistence)
# DATABASE_URL=sqlite:///./pii_anonymizer.db
# Monitoring Configuration
# ENABLE_METRICS=true
# METRICS_PORT=9090
# Performance Configuration
# MAX_CONCURRENT_REQUESTS=100
# REQUEST_TIMEOUT_SECONDS=30