-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (44 loc) · 2.26 KB
/
Copy path.env.example
File metadata and controls
53 lines (44 loc) · 2.26 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
# ==============================================
# ENTANGLE BACKEND - Variables de Entorno
# ==============================================
# Copiar este archivo como .env y configurar los valores reales
# ================== GITHUB ==================
# Token de acceso personal de GitHub con permisos: repo, read:org, read:user
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# ================== MONGODB ==================
# URI de conexión a MongoDB (Azure Cosmos DB for MongoDB vCore o MongoDB local)
# Formato vCore: mongodb+srv://user:password@cluster.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=true
# Formato local: mongodb://localhost:27017/
MONGO_URI=mongodb://localhost:27017/
MONGO_DB_NAME=quantum_github
# ================== APLICACIÓN ==================
# Entorno: development, staging, production
ENVIRONMENT=development
DEBUG=True
# API (opcional - por defecto usa 0.0.0.0:8000)
# API_HOST=0.0.0.0
# API_PORT=8000
# ================== FRONTEND CORS ==================
# URL del frontend para habilitar CORS (Azure Static Web Apps)
# Ejemplo: https://mi-app.azurestaticapps.net
FRONTEND_URL=
# ================== LOGGING ==================
# Nivel: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# ================== AZURE (opcional) ==================
# Si usas Azure Key Vault para secretos
# AZURE_KEY_VAULT_NAME=your_keyvault_name
# APPLICATIONINSIGHTS_CONNECTION_STRING=your_connection_string_here
# ================== AZURE AI FOUNDRY (Agente IA) ==================
# Endpoint del recurso de Azure AI Foundry (Portal Azure → tu recurso → Overview → Endpoint)
AZURE_AI_ENDPOINT=https://tu-recurso.openai.azure.com
# API Key del recurso (Portal Azure → tu recurso → Keys and Endpoint → Key 1)
AZURE_AI_API_KEY=
# Nombre del deployment del modelo (AI Foundry → Deployments → nombre del deployment)
AZURE_AI_DEPLOYMENT=gpt-5-mini
# ================== INVESTIGACIÓN EXTERNA (DEEP_RESEARCH worker) ==================
# Tavily Search API — necesaria para la herramienta web_search del worker
# deep_research. Obtén una key gratuita en https://tavily.com (1.000 req/mes).
# Si se deja vacío, el worker funcionará pero web_search devolverá un error
# explicativo al agente (arxiv sí funciona sin key).
TAVILY_API_KEY=