# AcademyOS — bootstrap environment for a fresh upload.
# The packaging step copies this to `.env` and injects a fresh APP_KEY, so the
# app boots straight into the web installer (/install). The installer rewrites
# this file with the real database, central domain, and a new APP_KEY.

APP_NAME=AcademyOS
APP_ENV=production
APP_KEY=base64:AEZZ2qUoFu/FMNhwdLITO4F70fH1WN+k6Bo3X2jER0Y=
APP_DEBUG=false
APP_TIMEZONE=UTC
APP_URL=http://localhost

APP_LOCALE=ar
APP_FALLBACK_LOCALE=ar
APP_FAKER_LOCALE=ar_SA

ACADEMYOS_MODE=onsite

# Left blank on purpose — the installer fills these from the wizard.
CENTRAL_DOMAINS=

# File-based drivers so the installer runs on ANY host, with no database,
# Redis, or queue worker needed just to render the wizard.
SESSION_DRIVER=file
SESSION_LIFETIME=120
CACHE_STORE=file
QUEUE_CONNECTION=database
FILESYSTEM_DISK=local

# The installer overwrites this block after testing the connection.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

LOG_CHANNEL=stack
LOG_STACK=single
LOG_LEVEL=error

# Mail starts in log mode; the operator configures SMTP from the settings screen.
MAIL_MAILER=log
MAIL_FROM_ADDRESS="noreply@example.com"
MAIL_FROM_NAME="${APP_NAME}"
