Commit 51fe0dc0 authored by Administrator's avatar Administrator

Update backend/.env.example via Son of Anton

parent f8570f79
# ============================================
# THE GRIND — Backend Environment Variables
# ============================================
# Application
NODE_ENV=development
PORT=3001
FRONTEND_URL=http://localhost:3000
API_PREFIX=api
CORS_ORIGINS=http://localhost:3000
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/thegrind?schema=public
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
# REDIS_PASSWORD=
REDIS_DB=0
REDIS_PASSWORD=
# JWT
JWT_SECRET=CHANGE_ME_IN_PRODUCTION_OR_GET_HACKED_YOU_IDIOT
JWT_SECRET=CHANGE_ME_TO_A_RANDOM_64_CHAR_STRING_IN_PRODUCTION
JWT_ACCESS_EXPIRY=15m
JWT_REFRESH_EXPIRY=7d
JWT_REFRESH_EXPIRY_DAYS=7
# MinIO (S3-compatible storage)
# App
PORT=3001
NODE_ENV=development
FRONTEND_URL=http://localhost:3000
CORS_ORIGINS=http://localhost:3000
API_PREFIX=api
# MinIO
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
MINIO_USE_SSL=false
......@@ -32,12 +27,7 @@ MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET=hr-files
# Upload Limits
MAX_FILE_SIZE_BYTES=26214400
MAX_PROFILE_PHOTO_SIZE_BYTES=5242880
# Session & Security
# Session
SESSION_TIMEOUT_HOURS=8
MAX_LOGIN_ATTEMPTS=5
LOCKOUT_DURATION_MINUTES=30
MAX_DAILY_LOGIN_ATTEMPTS=15
\ No newline at end of file
LOCKOUT_DURATION_MINUTES=30
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment