Initial commit of the Asset Management System, including project structure, Docker configuration, database migrations, and core application files. Added user authentication, asset management features, and basic UI components.
This commit is contained in:
40
env.example
Normal file
40
env.example
Normal file
@@ -0,0 +1,40 @@
|
||||
# Application Settings
|
||||
APP_ENV=production
|
||||
APP_URL=http://localhost:8080
|
||||
APP_DEBUG=false
|
||||
APP_KEY=base64:your-secret-key-here
|
||||
|
||||
# Database Settings
|
||||
DB_HOST=db
|
||||
DB_PORT=3306
|
||||
DB_NAME=inventory
|
||||
DB_USER=inventory
|
||||
DB_PASS=changeMe
|
||||
DB_ROOT_PASS=rootPassword123
|
||||
|
||||
# Session Settings
|
||||
SESSION_SECURE=false
|
||||
SESSION_LIFETIME=3600
|
||||
|
||||
# File Upload Settings
|
||||
UPLOAD_MAX_SIZE=50M
|
||||
ALLOWED_FILE_TYPES=pdf,jpg,jpeg,png,gif,doc,docx,xls,xlsx
|
||||
|
||||
# Email Settings (for password reset)
|
||||
MAIL_HOST=smtp.example.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USERNAME=noreply@example.com
|
||||
MAIL_PASSWORD=your-email-password
|
||||
MAIL_ENCRYPTION=tls
|
||||
MAIL_FROM_ADDRESS=noreply@example.com
|
||||
MAIL_FROM_NAME="Asset Management System"
|
||||
|
||||
# Security Settings
|
||||
CSRF_TOKEN_LIFETIME=3600
|
||||
PASSWORD_MIN_LENGTH=8
|
||||
LOGIN_MAX_ATTEMPTS=5
|
||||
LOGIN_LOCKOUT_TIME=900
|
||||
|
||||
# Cache Settings
|
||||
CACHE_DRIVER=file
|
||||
CACHE_TTL=3600
|
||||
Reference in New Issue
Block a user