Database sessions and cache competed with the queue worker on one SQLite file, causing "database is locked" when claiming jobs.
105 lines
2.3 KiB
Bash
105 lines
2.3 KiB
Bash
APP_NAME=AndyTranscribe
|
|
APP_ENV=local
|
|
APP_KEY=
|
|
APP_DEBUG=true
|
|
APP_URL=http://localhost:8080
|
|
|
|
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=sqlite
|
|
# DB_HOST=127.0.0.1
|
|
# DB_PORT=3306
|
|
# DB_DATABASE=laravel
|
|
# DB_USERNAME=root
|
|
# DB_PASSWORD=
|
|
|
|
SESSION_DRIVER=file
|
|
SESSION_LIFETIME=120
|
|
SESSION_ENCRYPT=false
|
|
SESSION_PATH=/
|
|
SESSION_DOMAIN=null
|
|
|
|
BROADCAST_CONNECTION=reverb
|
|
FILESYSTEM_DISK=local
|
|
QUEUE_CONNECTION=database
|
|
|
|
CACHE_STORE=file
|
|
# 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}"
|
|
|
|
# Laravel Reverb (WebSockets). Browser uses VITE_*; server publish uses REVERB_HOST.
|
|
REVERB_APP_ID=andytranscribe
|
|
REVERB_APP_KEY=andytranscribe-key
|
|
REVERB_APP_SECRET=andytranscribe-secret
|
|
REVERB_HOST=localhost
|
|
REVERB_PORT=8080
|
|
REVERB_SCHEME=http
|
|
REVERB_SERVER_HOST=0.0.0.0
|
|
REVERB_SERVER_PORT=8080
|
|
|
|
# Host ports for docker compose (FrankenPHP app, Reverb WS, Whisper)
|
|
APP_HOST_PORT=8080
|
|
REVERB_HOST_PORT=8081
|
|
WHISPER_HOST_PORT=8090
|
|
|
|
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
|
|
VITE_REVERB_HOST=localhost
|
|
# Browser WS port: use REVERB_HOST_PORT with Docker (8081), or REVERB_PORT for bare-metal reverb:start
|
|
VITE_REVERB_PORT="${REVERB_HOST_PORT}"
|
|
VITE_REVERB_SCHEME=http
|
|
|
|
# AndyTranscribe / local faster-whisper
|
|
LOCAL_WHISPER_URL=http://127.0.0.1:8090/v1
|
|
LOCAL_WHISPER_API_KEY=not-needed
|
|
LOCAL_WHISPER_MODEL=Systran/faster-whisper-base
|
|
TRANSCRIPTION_TIMEOUT=600
|
|
# Must be greater than TRANSCRIPTION_TIMEOUT so long Whisper jobs are not re-queued mid-run
|
|
DB_QUEUE_RETRY_AFTER=660
|
|
|
|
# Demo user created on every container start (db:seed via entrypoint)
|
|
SEED_USER_NAME="Demo User"
|
|
SEED_USER_EMAIL=demo@example.com
|
|
SEED_USER_PASSWORD=password
|
|
|
|
# Uncomment for Docker bind mounts + Vite HMR (no rebuild for PHP/Blade/CSS/JS):
|
|
# COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
|
|
# VITE_HOST_PORT=5173
|
|
|