-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
89 lines (75 loc) · 3.74 KB
/
.env.example
File metadata and controls
89 lines (75 loc) · 3.74 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
# ==============================================================================
# Celebra-me Environment Variables
# ==============================================================================
# Este archivo es un template. NO incluir valores reales aquí.
# Copiar a .env.local y configurar valores localmente.
# ==============================================================================
# ==============================================================================
# ENTORNO
# ==============================================================================
NODE_ENV=development
BASE_URL=http://localhost:4321
# ==============================================================================
# SUPABASE - REQUERIDO
# ==============================================================================
# Obtener de: https://supabase.com/dashboard/project/_/settings/api
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your-anon-key-here
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
# ==============================================================================
# SEGURIDAD - REQUERIDO
# ==============================================================================
# Generar con: openssl rand -hex 32
TRUST_DEVICE_SECRET=
TRUST_DEVICE_MAX_AGE_DAYS=30
# Generar con: openssl rand -hex 32
RSVP_CLAIM_CODE_PEPPER=
# Generar con: openssl rand -base64 32
RSVP_TOKEN_SECRET=
# ==============================================================================
# RATE LIMITING - REQUERIDO EN PRODUCCIÓN
# ==============================================================================
# Obtener de: https://console.upstash.com/redis
UPSTASH_REDIS_REST_URL=https://your-instance.upstash.io
UPSTASH_REDIS_REST_TOKEN=your-token-here
RSVP_V2_DISTRIBUTED_RATELIMIT=true
# ==============================================================================
# AUTENTICACIÓN ADMIN
# ==============================================================================
# Configurar en Supabase Auth o usar variables
SUPER_ADMIN_EMAILS=admin@example.com,admin2@example.com
RSVP_ADMIN_USER=admin@example.com
RSVP_ADMIN_PASSWORD=
# ==============================================================================
# EMAIL - REQUERIDO
# ==============================================================================
# Configuración Gmail
GMAIL_USER=your-email@gmail.com
# Crear en: https://myaccount.google.com/apppasswords
GMAIL_PASS=
# O SendGrid (alternativa)
# Crear en: https://app.sendgrid.com/settings/api_keys
SENDGRID_API_KEY=
# Email destino para formulario de contacto
CONTACT_FORM_RECIPIENT_EMAIL=contact@example.com
# ==============================================================================
# OBSERVABILIDAD - REQUERIDO EN PRODUCCIÓN
# ==============================================================================
# Obtener de: https://sentry.io/settings/projects/
SENTRY_DSN=https://xxx@xxx.ingest.sentry.io/xxx
SENTRY_AUTH_TOKEN=sntrys_xxx
# Obtener de: https://analytics.google.com/
PUBLIC_GOOGLE_ANALYTICS_ID=G-XXXXXXX
# ==============================================================================
# FEATURE FLAGS (Opcional)
# ==============================================================================
ENABLE_MFA=true
ENABLE_AUDIT_LOGS=true
# ==============================================================================
# NOTAS IMPORTANTES
# ==============================================================================
# 1. NUNCA commitear este archivo con valores reales
# 2. Rotar credenciales cada 90 días
# 3. Usar pre-commit hooks para evitar leaks
# 4. En producción, usar Vercel Dashboard para variables
# ==============================================================================