29 lines
1.4 KiB
Bash
29 lines
1.4 KiB
Bash
# ─── Database ───────────────────────────────────────────────
|
|
# SQLite database file path.
|
|
# Development: relative path (./data/db.sqlite)
|
|
# Docker: absolute path (/app/data/db.sqlite)
|
|
DATABASE_URL=./data/db.sqlite
|
|
|
|
# ─── Authentication ─────────────────────────────────────────
|
|
# Secret key for JWT signing and verification.
|
|
# MUST be changed to a random, secure value in production.
|
|
# Generate with: openssl rand -base64 32
|
|
JWT_SECRET=change-me-to-a-256-bit-secret
|
|
|
|
# ─── Storage ────────────────────────────────────────────────
|
|
# Directory for uploaded images (product photos, logos, etc.).
|
|
# Development: relative path (./public/uploads)
|
|
# Docker: absolute path (/app/public/uploads)
|
|
UPLOAD_DIR=./public/uploads
|
|
|
|
# Storage backend adapter. Currently only 'local' (filesystem) is supported.
|
|
STORAGE_ADAPTER=local
|
|
|
|
# ─── Environment ────────────────────────────────────────────
|
|
# Node.js environment: 'development' | 'production'
|
|
NODE_ENV=production
|
|
|
|
# Disable Next.js anonymous telemetry data collection.
|
|
# Set to 1 to disable. See: https://nextjs.org/telemetry
|
|
NEXT_TELEMETRY_DISABLED=1
|