This commit is contained in:
Ccjcarkbla
2026-06-13 08:03:45 -04:00
parent cfcd6ae11e
commit a2c300678b
121 changed files with 8639 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
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