-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
97 lines (81 loc) · 2.85 KB
/
.env.example
File metadata and controls
97 lines (81 loc) · 2.85 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
93
94
95
96
# RDFMap Environment Configuration
# ANALYTICS_ID=your-analytics-id
# SENTRY_DSN=https://your-sentry-dsn
# ============================================
# External Services (Optional)
# ============================================
ENABLE_CALIBRATION=true
ENABLE_LEARNING_HISTORY=true
ENABLE_SEMANTIC_EMBEDDINGS=true
ENABLE_AI_MATCHING=true
# ============================================
# Feature Flags
# ============================================
POSTGRES_MAX_CONNECTIONS=100
POSTGRES_EFFECTIVE_CACHE_SIZE=1GB
POSTGRES_SHARED_BUFFERS=256MB
# PostgreSQL settings
REDIS_MAXMEMORY_POLICY=allkeys-lru
REDIS_MAXMEMORY=256mb
# Redis memory limit
# ============================================
# Performance Tuning
# ============================================
VITE_WS_URL=ws://localhost:8000
VITE_API_BASE_URL=http://localhost:8000
# ============================================
# Frontend Configuration
# ============================================
API_WORKERS=4
API_PORT=8000
API_HOST=0.0.0.0
# ============================================
# API Configuration
# ============================================
LOG_FORMAT=json
LOG_LEVEL=INFO
# ============================================
# Logging
# ============================================
ALLOWED_EXTENSIONS=csv,xlsx,json,xml,ttl,owl
MAX_UPLOAD_SIZE=104857600 # 100MB in bytes
# ============================================
# File Upload Configuration
# ============================================
CELERY_TASK_TIMEOUT=3600
CELERY_WORKER_CONCURRENCY=2
# ============================================
# Worker Configuration
# ============================================
CORS_ORIGINS=http://localhost:8080,http://localhost:5173,https://yourdomain.com
# Add your domain(s) here for production
# ============================================
# CORS Configuration
# ============================================
CELERY_RESULT_BACKEND=redis://redis:6379/0
CELERY_BROKER_URL=redis://redis:6379/0
REDIS_URL=redis://redis:6379/0
# ============================================
# Redis Configuration
# ============================================
SQLALCHEMY_MAX_OVERFLOW=10
SQLALCHEMY_POOL_SIZE=20
# Connection pool settings (optional)
DATABASE_URL=postgresql://rdfmap:change-me-in-production@db:5432/rdfmap
POSTGRES_PASSWORD=change-me-in-production
POSTGRES_USER=rdfmap
POSTGRES_DB=rdfmap
# ============================================
# Database Configuration
# ============================================
JWT_SECRET_KEY=change-me-to-another-random-secret-key
SECRET_KEY=change-me-to-a-random-secret-key-in-production
# ============================================
# Security (CHANGE THESE IN PRODUCTION!)
# ============================================
RDFMAP_VERSION=0.3.0
VERSION=0.3.0
# ============================================
# Application Version
# ============================================
# Copy this file to .env and customize for your deployment