43 lines
2.3 KiB
Bash
43 lines
2.3 KiB
Bash
# ═══════════════════════════════════════════════════════════════
|
|
# MSPE Website - Environment Configuration
|
|
# ═══════════════════════════════════════════════════════════════
|
|
# Copy this file to .env and fill in your production values
|
|
# cp .env.example .env
|
|
#
|
|
# IMPORTANT: Never commit .env to version control!
|
|
# ═══════════════════════════════════════════════════════════════
|
|
|
|
# ── Application ───────────────────────────────────────────────
|
|
APP_ENV=production
|
|
SITE_NAME=MSPE
|
|
SITE_URL=https://mspe.pro
|
|
|
|
# ── Database ──────────────────────────────────────────────────
|
|
# Use 'file' for JSON file storage, or 'mysql' for MySQL database
|
|
DB_TYPE=file
|
|
# DB_HOST=localhost
|
|
# DB_NAME=your_database_name
|
|
# DB_USER=your_database_user
|
|
# DB_PASS=your_database_password
|
|
|
|
# ── Admin Credentials ─────────────────────────────────────────
|
|
# IMPORTANT: Set a strong admin password before deploying!
|
|
ADMIN_USER=admin
|
|
ADMIN_PASS=CHANGE_ME_TO_A_STRONG_PASSWORD
|
|
|
|
# ── JWT Secret ────────────────────────────────────────────────
|
|
# Generate a random secret: php -r "echo bin2hex(random_bytes(32));"
|
|
JWT_SECRET=CHANGE_ME_GENERATE_RANDOM_SECRET
|
|
|
|
# ── Admin Email ───────────────────────────────────────────────
|
|
ADMIN_EMAIL=info@mspe.pro
|
|
|
|
# ── SMTP Configuration (for sending emails) ──────────────────
|
|
# Hostinger SMTP settings (check Hostinger hPanel for exact values)
|
|
SMTP_HOST=smtp.hostinger.com
|
|
SMTP_PORT=465
|
|
SMTP_USER=info@mspe.pro
|
|
SMTP_PASS=your_email_password
|
|
SMTP_FROM_NAME=MSPE
|
|
SMTP_FROM_EMAIL=info@mspe.pro
|