-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
99 lines (86 loc) · 3.77 KB
/
.env.example
File metadata and controls
99 lines (86 loc) · 3.77 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
97
98
99
# TensorFleet Environment Configuration Template
# Copy this file to .env.development or .env.production and customize the values
# ============================================================================
# MongoDB Configuration
# ============================================================================
MONGO_INITDB_ROOT_USERNAME=admin
MONGO_INITDB_ROOT_PASSWORD=your_secure_password_here
MONGO_INITDB_DATABASE=tensorfleet
MONGODB_URL=mongodb://admin:your_secure_password_here@mongodb:27017/tensorfleet?authSource=admin
MONGODB_DB=tensorfleet
MONGODB_PORT=27017
# ============================================================================
# Redis Configuration
# ============================================================================
REDIS_ADDR=redis:6379
REDIS_PORT=6379
# ============================================================================
# MinIO Configuration (S3-Compatible Storage)
# ============================================================================
MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=your_minio_password_here
MINIO_ENDPOINT=minio:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=your_minio_secret_here
MINIO_SECURE=false
MINIO_PORT=9000
MINIO_CONSOLE_PORT=9001
# ============================================================================
# Service Ports
# ============================================================================
ORCHESTRATOR_PORT=50051
WORKER_PORT=50052
API_GATEWAY_PORT=8080
STORAGE_PORT=8081
MONITORING_PORT=8082
ML_WORKER_PORT=8000
MODEL_SERVICE_PORT=8083
FRONTEND_PORT=3000
# ============================================================================
# Orchestrator Configuration
# ============================================================================
ORCHESTRATOR_ADDR=orchestrator:50051
# ============================================================================
# Worker Configuration
# ============================================================================
# Number of worker replicas for distributed training (default: 3)
# Scale up for more parallel processing power
WORKER_REPLICAS=3
# ============================================================================
# Frontend Configuration
# ============================================================================
VITE_API_URL=http://localhost:8080
VITE_MONITORING_URL=http://localhost:8082
# ============================================================================
# ML Worker Configuration
# ============================================================================
ML_DEFAULT_ALGORITHM=random_forest
ML_DEFAULT_TEST_SIZE=0.2
ML_DEFAULT_RANDOM_STATE=42
# ============================================================================
# Model Service Configuration
# ============================================================================
MODEL_SERVICE_MAX_FILE_SIZE=100MB
MODEL_SERVICE_PAGE_SIZE=20
# ============================================================================
# Health Check Configuration
# ============================================================================
HEALTH_CHECK_INTERVAL=10s
HEALTH_CHECK_TIMEOUT=5s
HEALTH_CHECK_RETRIES=3
# ============================================================================
# Development/Production Toggle
# ============================================================================
ENVIRONMENT=development
DEBUG=true
LOG_LEVEL=info
# ============================================================================
# Docker Network
# ============================================================================
DOCKER_NETWORK=tensorfleet-net
# ============================================================================
# Volume Names
# ============================================================================
MONGODB_DATA_VOLUME=mongodb_data
MONGODB_CONFIG_VOLUME=mongodb_config
MINIO_DATA_VOLUME=minio_data