26 lines
604 B
Bash
26 lines
604 B
Bash
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# REQUIRED — app will refuse to start without this
|
|
JWT_SECRET=change-me-to-a-long-random-string
|
|
|
|
# Database (relative paths work on both Windows and Linux)
|
|
DB_PATH=./vitfit.sqlite
|
|
|
|
# File storage
|
|
UPLOADS_DIR=./uploads
|
|
UPLOAD_TEMP_DIR=./tmp
|
|
UPLOAD_MAX_BYTES=524288000
|
|
|
|
# Disk warning threshold (5 GB)
|
|
STORAGE_WARN_BYTES=5368709120
|
|
|
|
# CORS — set to your domain in production
|
|
CORS_ORIGIN=https://yourdomain.com
|
|
|
|
# Logging — trace | debug | info | warn | error | fatal
|
|
LOG_LEVEL=info
|
|
|
|
# Backup (used by scripts/backup-uploads.sh)
|
|
BACKUP_UPLOADS_DEST=/mnt/backup/uploads
|