APP_NAME=iMail
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=https://your-domain.com

LOG_CHANNEL=stderr
LOG_LEVEL=info

# Database (MariaDB via Dokploy/External)
DB_CONNECTION=mariadb
DB_HOST=mariadb-host
DB_PORT=3306
DB_DATABASE=imail
DB_USERNAME=root
DB_PASSWORD=

# MongoDB (via Dokploy/External)
MONGODB_URI=mongodb://mongodb-host:27017

# Redis (via Dokploy/External)
REDIS_CLIENT=phpredis # Required for Laravel Pulse ingest
REDIS_HOST=redis-host
REDIS_PASSWORD=null
REDIS_PORT=6379

CACHE_STORE=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=reverb

FILESYSTEM_DISK=s3

# S3 Compatible Storage (RustFS via Dokploy/External)
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=imail
AWS_USE_PATH_STYLE_ENDPOINT=true
AWS_ENDPOINT=http://rustfs-host:9000

# Reverb Configuration
REVERB_APP_ID=
REVERB_APP_KEY=
REVERB_APP_SECRET=
REVERB_HOST="your-domain.com"
REVERB_PORT=443
REVERB_SCHEME=https

# Pulse Configuration
PULSE_INGEST_DRIVER=redis
PULSE_REDIS_CONNECTION=default

VITE_APP_NAME="${APP_NAME}"
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST="${REVERB_HOST}"
VITE_REVERB_PORT="${REVERB_PORT}"
VITE_REVERB_SCHEME="${REVERB_SCHEME}"
VITE_REVERB_PATH="/_ws"
