-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
110 lines (95 loc) · 4.36 KB
/
.env.example
File metadata and controls
110 lines (95 loc) · 4.36 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
100
101
102
103
104
105
106
107
108
109
110
# =============================================================================
# Tutor Platform — Environment Variables Template
# =============================================================================
# Copy this file to `.env` and fill in your Azure resource values.
# See docs/local-development.md for detailed instructions.
#
# SECURITY: Never commit the filled-in .env file to source control.
# =============================================================================
# -----------------------------------------------------------------------------
# Azure Cosmos DB (required for most services)
# -----------------------------------------------------------------------------
COSMOS_ENDPOINT=""
COSMOS_DATABASE="tutor"
# Key-based auth (only needed by essays service — others use DefaultAzureCredential)
COSMOS_KEY=""
# Container overrides (defaults are fine for standard deployments)
# COSMOS_ESSAY_TABLE="essays"
# COSMOS_RESOURCE_TABLE="resources"
# COSMOS_ASSEMBLY_TABLE="assemblies"
# COSMOS_QUESTION_TABLE="questions"
# COSMOS_ANSWER_TABLE="answers"
# COSMOS_GRADER_TABLE="graders"
# COSMOS_CONFIGURATION_TABLE="configuration"
# COSMOS_STUDENT_TABLE="students"
# COSMOS_PROFESSOR_TABLE="professors"
# COSMOS_COURSE_TABLE="courses"
# COSMOS_CLASS_TABLE="classes"
# COSMOS_GROUP_TABLE="groups"
# COSMOS_AVATAR_CASE_TABLE="avatar_case"
# -----------------------------------------------------------------------------
# Azure AI Foundry (required for AI agent features)
# -----------------------------------------------------------------------------
PROJECT_ENDPOINT=""
MODEL_DEPLOYMENT_NAME="gpt-5-nano"
MODEL_REASONING_DEPLOYMENT="gpt-5"
# Legacy keys (only for essays service own config)
AZURE_MODEL_KEY=""
AZURE_MODEL_URL=""
AZURE_PROJECT_CONNECTION_STRING=""
# -----------------------------------------------------------------------------
# Azure Blob Storage (essays, configuration)
# -----------------------------------------------------------------------------
BLOB_CONNECTION_STRING=""
BLOB_CONTAINER_NAME="uploads"
BLOB_SERVICE_CLIENT=""
# -----------------------------------------------------------------------------
# Azure Speech Services (essays)
# -----------------------------------------------------------------------------
AI_SPEECH_URL=""
AI_SPEECH_KEY=""
# -----------------------------------------------------------------------------
# Azure AI Vision (essays)
# -----------------------------------------------------------------------------
AZURE_VISION_ENDPOINT=""
AZURE_VISION_KEY=""
# -----------------------------------------------------------------------------
# Azure AI Document Intelligence (essays OCR)
# -----------------------------------------------------------------------------
DOCUMENT_INTELLIGENCE_ENDPOINT=""
DOCUMENT_INTELLIGENCE_KEY=""
DOCUMENT_INTELLIGENCE_MODEL="prebuilt-read"
# -----------------------------------------------------------------------------
# Avatar-specific
# -----------------------------------------------------------------------------
AVATAR_TEMPERATURE=0.6
# -----------------------------------------------------------------------------
# Authentication — Microsoft Entra ID
# Set ENTRA_AUTH_ENABLED=false to disable JWT validation (recommended for local dev)
# -----------------------------------------------------------------------------
ENTRA_AUTH_ENABLED=false
ENTRA_TENANT_ID=""
ENTRA_API_CLIENT_ID=""
ENTRA_TOKEN_AUDIENCE=""
ENTRA_TOKEN_ISSUER=""
ENTRA_ALLOWED_CLIENT_APP_IDS=""
# Teacher / student credential management (configuration service)
ENTRA_TEACHER_CLIENT_ID=""
ENTRA_TEACHER_CLIENT_SECRET=""
STUDENT_SECRET_SALT=""
# -----------------------------------------------------------------------------
# LMS Gateway (set LMS_JOB_STORE=memory for testing without Cosmos)
# -----------------------------------------------------------------------------
LMS_MOODLE_BASE_URL=""
LMS_MOODLE_TOKEN=""
LMS_CANVAS_BASE_URL=""
LMS_CANVAS_TOKEN=""
LMS_JOB_STORE="memory"
# -----------------------------------------------------------------------------
# Evaluation Service (set to "memory" for testing without Cosmos)
# -----------------------------------------------------------------------------
EVALUATION_REPOSITORY="memory"
# -----------------------------------------------------------------------------
# Frontend
# -----------------------------------------------------------------------------
NEXT_PUBLIC_APIM_BASE_URL="https://<your-apim-gateway-host>"