Updatweb
This commit is contained in:
38
.env.example
Normal file
38
.env.example
Normal file
@@ -0,0 +1,38 @@
|
||||
# SkyArtShop Environment Configuration
|
||||
# Copy this file to .env and update with your actual values
|
||||
|
||||
# Node Environment
|
||||
NODE_ENV=development
|
||||
|
||||
# Server Configuration
|
||||
PORT=5000
|
||||
HOST=0.0.0.0
|
||||
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_NAME=skyartshop
|
||||
DB_USER=skyartapp
|
||||
DB_PASSWORD=your_secure_password_here
|
||||
|
||||
# Session Configuration
|
||||
SESSION_SECRET=generate_a_random_string_at_least_32_characters_long
|
||||
|
||||
# Upload Configuration
|
||||
UPLOAD_DIR=/var/www/skyartshop/uploads
|
||||
MAX_FILE_SIZE=5242880
|
||||
ALLOWED_FILE_TYPES=image/jpeg,image/png,image/gif,image/webp
|
||||
|
||||
# Security Configuration
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
BCRYPT_ROUNDS=12
|
||||
|
||||
# Logging Configuration
|
||||
LOG_LEVEL=info
|
||||
LOG_FILE=logs/app.log
|
||||
LOG_MAX_SIZE=10m
|
||||
LOG_MAX_FILES=7d
|
||||
|
||||
# CORS Configuration (if needed for API)
|
||||
CORS_ORIGIN=http://localhost:5000
|
||||
Reference in New Issue
Block a user