Initial commit: Inventory Barcode System
This commit is contained in:
42
.env.example
Normal file
42
.env.example
Normal file
@ -0,0 +1,42 @@
|
||||
# Environment Configuration Template
|
||||
# Copy this file to .env and update values for your environment
|
||||
|
||||
# Server Configuration
|
||||
NODE_ENV=production
|
||||
PORT=3000
|
||||
HOST=0.0.0.0
|
||||
|
||||
# Database Configuration
|
||||
DATABASE_PATH=./inventory.db
|
||||
DATABASE_BACKUP_PATH=./data/backups
|
||||
DATABASE_BACKUP_INTERVAL=3600000
|
||||
|
||||
# File Upload Configuration
|
||||
UPLOAD_MAX_SIZE=10485760
|
||||
UPLOAD_ALLOWED_TYPES=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel
|
||||
TEMP_DIR=./data/temp
|
||||
|
||||
# Export Configuration
|
||||
EXPORT_DIR=./data/exports
|
||||
EXPORT_RETENTION_DAYS=30
|
||||
|
||||
# Logging Configuration
|
||||
LOG_LEVEL=info
|
||||
LOG_DIR=./logs
|
||||
LOG_MAX_SIZE=10m
|
||||
LOG_MAX_FILES=14d
|
||||
|
||||
# Security Configuration
|
||||
CORS_ORIGIN=*
|
||||
HELMET_CSP_ENABLED=true
|
||||
REQUEST_TIMEOUT=30000
|
||||
|
||||
# Performance Configuration
|
||||
CACHE_TTL=300000
|
||||
MAX_CONCURRENT_IMPORTS=3
|
||||
QUERY_TIMEOUT=5000
|
||||
|
||||
# Backup Configuration
|
||||
BACKUP_ENABLED=true
|
||||
BACKUP_SCHEDULE=0 2 * * *
|
||||
BACKUP_RETENTION_DAYS=30
|
||||
Reference in New Issue
Block a user