-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (50 loc) · 1.82 KB
/
.env.example
File metadata and controls
59 lines (50 loc) · 1.82 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
# =============================================
# CONFIGURACIÓN DE LA APLICACIÓN
# =============================================
APP_ENV=local # local | production
APP_DEBUG=true # true | false (false en producción)
# =============================================
# CONFIGURACIÓN DE CORREO
# =============================================
MAIL_FROM_ADDRESS=noreply@sg-ia.com
MAIL_FROM_NAME="SG-IA Sistema"
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=tu_correo@gmail.com
MAIL_PASSWORD=tu_app_password
MAIL_ENCRYPTION=ssl
BASE_PATH= # Ruta base si está en subcarpeta (ej: /SGcolon/public). Vacío para raíz.
# =============================================
# BASE DE DATOS
# =============================================
DB_DSN=mysql:host=127.0.0.1;dbname=sg_ia_db;charset=utf8mb4
DB_USER=root
DB_PASS=
# =============================================
# CORS - Orígenes permitidos
# =============================================
# Para múltiples orígenes, separar por comas:
# CORS_ORIGIN=https://app.ejemplo.com,https://admin.ejemplo.com
CORS_ORIGIN=http://localhost:4200
# =============================================
# JWT - Autenticación
# =============================================
# Generar una cadena aleatoria criptográficamente segura con:
# php -r "echo bin2hex(random_bytes(32));"
JWT_SECRET=change_this_to_a_secure_random_string_min_32_chars
JWT_EXPIRY=86400 # Tiempo de expiración en segundos (86400 = 24 horas)
# =============================================
# PROVEEDORES DE IA
# =============================================
# Google Gemini
GEMINI_API_KEY=tu_api_key_aqui
GEMINI_ENABLED=true
# Groq
GROQ_API_KEY=tu_api_key_aqui
GROQ_ENABLED=true
# DeepSeek
DEEPSEEK_API_KEY=tu_api_key_aqui
DEEPSEEK_ENABLED=true
# Fireworks
FIREWORKS_API_KEY=tu_api_key_aqui
FIREWORKS_ENABLED=true