-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.env.example
More file actions
109 lines (94 loc) · 3.47 KB
/
Copy path.env.example
File metadata and controls
109 lines (94 loc) · 3.47 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
# ===========================================
# Aquário - Environment Configuration
# ===========================================
#
# SETUP:
# 1. Copy this file: cp .env.example .env
# 2. Edit .env with your values
# 3. .env is gitignored and safe for secrets
#
# ENVIRONMENTS:
# - Dev: Local development (minimal setup, mocked services)
# - Staging: Preview deployments (real services, test data)
# - Prod: Production (real everything)
#
# ===========================================
# -------------------------------------------
# App Configuration
# -------------------------------------------
# Public URL of the app (used for email links, OAuth callbacks)
# Dev: http://localhost:3000
# Staging: https://aquario-staging.vercel.app (or preview URL)
# Prod: https://aquarioufpb.com
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# -------------------------------------------
# Database
# -------------------------------------------
# PostgreSQL connection string
#
# Options:
# 1. Local Docker: postgresql://aquario:aquario@localhost:5432/aquario
# 2. Neon (cloud): postgresql://user:pass@ep-xxx.us-east-2.aws.neon.tech/aquario
#
# For local Docker, run: docker-compose up -d
DATABASE_URL="postgresql://aquario:aquario@localhost:5432/aquario"
# -------------------------------------------
# Blob Storage (Production only, local uses local storage)
# -------------------------------------------
BLOB_READ_WRITE_TOKEN="vercel_blob_key"
# -------------------------------------------
# Authentication
# -------------------------------------------
# JWT secret key (REQUIRED - must be at least 32 characters)
# Generate one: openssl rand -base64 32
JWT_SECRET="change-me-to-a-real-secret-at-least-32-chars"
# JWT token expiration
JWT_EXPIRES_IN="7d"
# Emails that get MASTER_ADMIN role on registration (comma-separated)
MASTER_ADMIN_EMAILS="aquarioufpb@gmail.com"
# -------------------------------------------
# Email (Resend)
# -------------------------------------------
# Email service configuration
#
# BEHAVIOR:
# - If RESEND_API_KEY is set: Real emails via Resend
# - If RESEND_API_KEY is empty: Mock mode (emails logged to console, users auto-verified)
#
# Get your API key at: https://resend.com
RESEND_API_KEY=""
# Email sender address (requires verified domain in Resend)
EMAIL_FROM="noreply@aquarioufpb.com"
# -------------------------------------------
# Data Providers
# -------------------------------------------
# Where to load content from
#
# Options:
# "local" = Git submodules (static, no DB needed)
# "backend" = API routes (dynamic, requires DB)
NEXT_PUBLIC_GUIAS_DATA_PROVIDER="backend"
# -------------------------------------------
# Copa do Mundo 2026 (football-data.org)
# -------------------------------------------
# API key para buscar resultados das partidas.
# Usada pelo script scripts/update-copa-results.ts e pela GitHub Action.
#
# Obtenha uma chave gratuita em: https://www.football-data.org/client/register
FOOTBALL_DATA_API_KEY=""
# -------------------------------------------
# Environment Flags
# -------------------------------------------
# Set to "true" in staging deployments to enable staging indicators
NEXT_PUBLIC_IS_STAGING=""
# -------------------------------------------
# Analytics (PostHog)
# -------------------------------------------
# PostHog analytics configuration
#
# BEHAVIOR:
# - Only tracks in production (NODE_ENV=production)
# - If key is empty: Analytics disabled entirely
#
# Get your key at: https://posthog.com
NEXT_PUBLIC_POSTHOG_KEY=""