Implemented Settings

Improved cronjob
Fixed Views
Added env encryption key for encrypting sensitive data in database.
This commit is contained in:
Hosteroid
2025-10-08 18:54:34 +03:00
parent b3b3ac66ff
commit 146df224bd
19 changed files with 1640 additions and 94 deletions

View File

@@ -1,8 +1,10 @@
# Application
APP_NAME="Domain Monitor"
APP_ENV=development
APP_URL=http://localhost:8000
APP_TIMEZONE=UTC
# Security - Generate encryption key using: php -r "echo base64_encode(random_bytes(32));"
# This key is used to encrypt sensitive data in the database (like SMTP passwords)
# IMPORTANT: Never share this key or commit it to version control!
APP_ENCRYPTION_KEY=
# Database
DB_HOST=localhost
@@ -15,18 +17,4 @@ DB_PASSWORD=
SESSION_LIFETIME=1440
SESSION_COOKIE_HTTPONLY=1
SESSION_COOKIE_SECURE=0
SESSION_COOKIE_SAMESITE=Strict
# Email Configuration
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=noreply@domainmonitor.com
MAIL_FROM_NAME="Domain Monitor"
# Domain Check Settings
CHECK_INTERVAL_HOURS=24
NOTIFICATION_DAYS_BEFORE=60,30,21,14,7,5,3,2,1
SESSION_COOKIE_SAMESITE=Strict