# This file IS uploaded to the repository. It holds basic, non-secret settings only.
# Secret values (app key, passwords, API keys) and all AI settings are left blank here.
#
# For development, the app reads .env.local instead of this file when it exists.
# .env.local is never uploaded and must hold every setting, including the secrets.
# To create it: copy this file to .env.local, then fill in the blanks.

APP_NAME="AI Commerce"
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost:8000

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

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=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ai_commerce
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

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_USE_PATH_STYLE_ENDPOINT=false

VITE_APP_NAME="${APP_NAME}"

# AI. Each task picks its own provider and model. Change these lines to switch models; no code changes.
# Providers: claude, deepseek, fake (no API key needed, returns a sample design).
# Set these in .env.local, never here. This file is uploaded to the repository.
AI_GENERATE_PROVIDER=
AI_GENERATE_MODEL=
AI_EDIT_PROVIDER=
AI_EDIT_MODEL=
AI_FAKE_DELAY=
ANTHROPIC_API_KEY=
DEEPSEEK_API_KEY=

# Must be longer than the longest background job (AI jobs can take several minutes).
DB_QUEUE_RETRY_AFTER=600
