-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production
More file actions
92 lines (71 loc) · 1.96 KB
/
.env.production
File metadata and controls
92 lines (71 loc) · 1.96 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
92
# Production environment variables
# Copy this to .env.production and update with your actual values
# Application Configuration
SPRING_PROFILES_ACTIVE=prod
SERVER_PORT=8080
# Database Configuration
DATABASE_NAME=norman_engine
DATABASE_USER=norman_user
DATABASE_PASSWORD=your_secure_database_password_here
DATABASE_URL=jdbc:postgresql://postgres:5432/norman_engine
# AI Configuration - Gemini (Primary)
GEMINI_API_KEY=your_gemini_api_key_here
GEMINI_PROJECT_ID=your_project_id
GEMINI_LOCATION=us-central1
# AI Configuration - OpenAI (Fallback)
OPENAI_API_KEY=your_openai_api_key_here
# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=your_redis_password_here
# MinIO Configuration
MINIO_ROOT_USER=norman_minio
MINIO_ROOT_PASSWORD=your_minio_password_here
# Grafana Configuration
GRAFANA_USER=admin
GRAFANA_PASSWORD=your_grafana_password_here
# Domain Configuration
DOMAIN=your-domain.com
# Monitoring Configuration
TRACING_SAMPLING_PROBABILITY=0.1
# Logging Configuration
LOG_LEVEL=INFO
AI_LOG_LEVEL=WARN
SQL_LOG_LEVEL=ERROR
# Norman Engine Configuration
AI_PROVIDER=gemini
AI_TEMPERATURE=0.1
AI_MAX_TOKENS=4000
AI_TIMEOUT=180s
AI_SELF_CORRECTION=true
# Document Processing
MAX_FILE_SIZE=50MB
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
# Audit Configuration
AUDIT_MAX_CONTEXT_TOKENS=8000
AUDIT_RESPONSE_FORMAT=json
# Rate Limiting
RATE_LIMIT_RPM=60
RATE_LIMIT_UPLOAD_PM=10
# Cache Configuration
CACHE_EMBEDDING_TTL=24h
CACHE_AUDIT_RESULT_TTL=1h
# Production Specific Settings
DDL_AUTO=validate
SHOW_SQL=false
OPENAPI_ENABLED=false
SWAGGER_ENABLED=false
# Security
ALLOWED_ORIGINS=https://your-domain.com,https://www.your-domain.com
# Application Scaling
APP_REPLICAS=2
# Backup Configuration
BACKUP_SCHEDULE=0 2 * * * # Daily at 2 AM
BACKUP_RETENTION_DAYS=30
# Container Registry (if using private registry)
REGISTRY=your-registry.com
VERSION=latest
# SSL Certificate Path (if using SSL certificates)
SSL_CERT_PATH=/etc/nginx/ssl/cert.pem
SSL_KEY_PATH=/etc/nginx/ssl/key.pem