-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
74 lines (60 loc) · 1.58 KB
/
env.example
File metadata and controls
74 lines (60 loc) · 1.58 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
# Virtual Memory Manager Environment Configuration
# Copy this file to .env and modify the values as needed
# Backend Configuration
BACKEND_PORT=8080
BACKEND_HOST=0.0.0.0
# AI Predictor Configuration
PREDICTOR_PORT=5000
PREDICTOR_HOST=0.0.0.0
PREDICTOR_URL=http://localhost:5000
# Frontend Configuration
FRONTEND_PORT=3000
FRONTEND_HOST=localhost
# VMM Configuration
VMM_TOTAL_FRAMES=256
VMM_PAGE_SIZE=4096
VMM_TOTAL_PAGES=1024
VMM_REPLACEMENT_POLICY=CLOCK
VMM_ENABLE_AI=true
# Workload Configuration
WORKLOAD_TYPE=RANDOM
WORKLOAD_TOTAL_REQUESTS=1000
WORKLOAD_PAGE_RANGE=1000
WORKLOAD_STRIDE=1
WORKLOAD_ZIPF_ALPHA=1.0
WORKLOAD_LOCALITY_FACTOR=0.8
WORKLOAD_WORKING_SET_SIZE=100
# AI Model Configuration
AI_MODEL_TYPE=xgboost
AI_PREDICTION_THRESHOLD=0.7
AI_BATCH_SIZE=32
AI_MAX_PREDICTIONS=10
# Database Configuration (if using persistent storage)
DATABASE_URL=sqlite:///vmm.db
REDIS_URL=redis://localhost:6379
# Logging Configuration
LOG_LEVEL=INFO
LOG_FILE=logs/vmm.log
# Docker Configuration
DOCKER_NETWORK=vmm_network
DOCKER_VOLUME=vmm_data
# Production Configuration
NODE_ENV=development
DEBUG=true
# Render Deployment Configuration
RENDER=true
RENDER_EXTERNAL_URL=https://your-app.onrender.com
# Frontend Environment Variables (for Vite)
VITE_BACKEND_URL=http://localhost:8080
VITE_PREDICTOR_URL=http://localhost:5000
VITE_FRONTEND_PORT=3000
# Backend Environment Variables
BACKEND_PORT=8080
BACKEND_HOST=0.0.0.0
PREDICTOR_URL=http://localhost:5000
# AI Predictor Environment Variables
PREDICTOR_HOST=0.0.0.0
PREDICTOR_PORT=5000
MODEL_PATH=model.pkl
AI_MODEL_TYPE=xgboost
AI_PREDICTION_THRESHOLD=0.7