APP_NAME=LaraBlog
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

APP_LOCALE=zh_CN
APP_FALLBACK_LOCALE=zh_CN
APP_FAKER_LOCALE=zh_CN

APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database

# PHP_CLI_SERVER_WORKERS=4

BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=

SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database

CACHE_STORE=database
# CACHE_PREFIX=

MEMCACHED_HOST=127.0.0.1

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# Custom key prefix (recommended in shared Redis)
REDIS_PREFIX=larablog_
CACHE_PREFIX=larablog_cache_

MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_URL=
AWS_ENDPOINT=
AWS_USE_PATH_STYLE_ENDPOINT=false
# For R2/MinIO often true; set AWS_URL to public/CDN base if any

# Blog attachments (S3-compatible: R2 / COS / OSS / MinIO)
ATTACHMENTS_DISK=attachments
ATTACHMENTS_URL_PREFIX=attachments
# local = storage/app/attachments (dev without MinIO/S3); s3 = object storage
ATTACHMENTS_DRIVER=local

# Sablog source DB for: php artisan sablog:import --mode=raw|markdown
SABLOG_DB_DRIVER=mysql
SABLOG_DB_HOST=127.0.0.1
SABLOG_DB_PORT=3306
SABLOG_DB_DATABASE=sablog
SABLOG_DB_USERNAME=root
SABLOG_DB_PASSWORD=
SABLOG_DB_CHARSET=utf8mb4

# Content formats
LARABLOG_DEFAULT_CONTENT_FORMAT=markdown
LARABLOG_IMPORT_CONTENT_FORMAT=html

# AI provider: stub | openai_compatible
# After first migrate, run: php artisan db:seed --class=AiSettingsSeeder
# to copy these into Spatie settings (Filament Site Settings → AI).
AI_PROVIDER=openai_compatible
AI_API_BASE_URL=https://apihub.agnes-ai.com/v1
AI_API_KEY=
AI_MODEL=agnes-2.0-flash

# Optional TTF/OTF for template cover text (Chinese-capable recommended)
# LARABLOG_COVER_FONT=/path/to/NotoSansSC-Regular.otf

VITE_APP_NAME="${APP_NAME}"
