Getting Started
Environment
Core env vars and how to set them.
Copy example.env to .env, then update values:
cp example.env .envCore
APP_NAME/APP_URLBETTER_AUTH_SECRET(generate a long random 32 character string)UPLOAD_ROOT(local storage root)STORAGE_DRIVER(localors3)CORS_ORIGIN(comma-separated list)
Example:
APP_NAME="Swush"
APP_URL="http://localhost:3000"
BETTER_AUTH_SECRET="replace-me"
UPLOAD_ROOT="/data/uploads"
STORAGE_DRIVER="local"
CORS_ORIGIN="http://localhost:3000"Database
DATABASE_URL
S3 (if STORAGE_DRIVER=s3)
S3_ENDPOINTS3_REGIONS3_BUCKETS3_ACCESS_KEYS3_SECRET_KEYS3_FORCE_PATH_STYLE
SMTP_HOSTSMTP_PORTSMTP_USERSMTP_PASSSMTP_FROMSUPPORT_NAMESUPPORT_EMAIL
External APIs
TMDB_API_KEYRAWG_API_KEYSTEAM_API_KEYSTEAM_LINK_SECRET
Cron
CRON_SECRETENABLE_APP_CRONSTREAM_JOBS_QUEUE_LIMIT(max queued stream jobs per run; default 15; hard cap 50)STREAM_JOBS_CONCURRENCY(parallel stream jobs per run; default 5)
For the complete list and defaults, see example.env.