-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 1.27 KB
/
.env.example
File metadata and controls
27 lines (22 loc) · 1.27 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
# =============================================================================
# AgriRomagna — Environment Variables
# =============================================================================
# Copy this file to .env and fill in the values.
# cp .env.example .env
# =============================================================================
# --- Database ----------------------------------------------------------------
# SQLite file path (relative to project root)
DATABASE_URL="file:./dev.db"
# --- Authentication ----------------------------------------------------------
# JWT signing secret. REQUIRED in production — no default is provided.
# Generate with: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
JWT_SECRET="agri-romagna-dev-secret-change-in-production"
# --- Server ------------------------------------------------------------------
# Port for the Next.js server
PORT=3000
# --- Environment -------------------------------------------------------------
# "development" | "production" | "test"
NODE_ENV="development"
# --- Sync Engine -------------------------------------------------------------
# Comma-separated API path prefixes allowed for /api/sync mutations
SYNC_ALLOWED_PATHS="/api/fields,/api/weather,/api/compliance,/api/advisor"