Initial commit: MSPE website - full site with admin panel, API, and public pages
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# ========================================
|
||||
# MSPE Website - Environment Configuration
|
||||
# ========================================
|
||||
# Copy this file to .env and fill in your actual values.
|
||||
# NEVER commit the .env file to version control.
|
||||
|
||||
# ── Application ───────────────────────────────────────────────
|
||||
APP_ENV=production # 'production' or 'development'
|
||||
|
||||
# ── Database ──────────────────────────────────────────────────
|
||||
DB_TYPE=mysql # Only 'mysql' is supported in production
|
||||
DB_HOST=localhost
|
||||
DB_NAME=mspe_website
|
||||
DB_USER=
|
||||
DB_PASS=
|
||||
|
||||
# ── Admin Credentials ─────────────────────────────────────────
|
||||
# ADMIN_PASS must be a bcrypt hash from password_hash().
|
||||
# Generate one with: php -r "echo password_hash('your-password', PASSWORD_DEFAULT);"
|
||||
ADMIN_USER=admin
|
||||
ADMIN_PASS=
|
||||
|
||||
# ── JWT Secret ────────────────────────────────────────────────
|
||||
# REQUIRED in production. Generate with: php -r "echo bin2hex(random_bytes(32));"
|
||||
# The server will refuse to start if this is left as the default.
|
||||
JWT_SECRET=change-me-in-env-file
|
||||
|
||||
# ── Site Settings ─────────────────────────────────────────────
|
||||
SITE_NAME=MSPE
|
||||
SITE_URL=https://mspe.pro
|
||||
ADMIN_EMAIL=info@mspe.pro
|
||||
|
||||
# ── SMTP Email ────────────────────────────────────────────────
|
||||
# Used for contact form notifications and admin emails.
|
||||
# These can also be overridden in Admin > Settings.
|
||||
SMTP_HOST=
|
||||
SMTP_PORT=465
|
||||
SMTP_USER=
|
||||
SMTP_PASS=
|
||||
SMTP_FROM_NAME=MSPE
|
||||
SMTP_FROM_EMAIL=info@mspe.pro
|
||||
|
||||
# ── Cloudflare Turnstile (Optional) ──────────────────────────
|
||||
# If set, enables human verification on the contact form.
|
||||
# Get keys at: https://dash.cloudflare.com/turnstile
|
||||
TURNSTILE_SITE_KEY=
|
||||
TURNSTILE_SECRET_KEY=
|
||||
Reference in New Issue
Block a user