mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 00:25:38 -04:00
Renames the env var for clarity since it holds a read access token, not an API key. Adds optional TMDB_API_BASE_URL and TMDB_IMAGE_BASE_URL env vars for advanced users. Centralizes image URL construction into a shared tmdbImageUrl() helper, replacing hardcoded URLs across all components. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
563 B
Bash
16 lines
563 B
Bash
# SQLite database URL (Docker: file:/data/sqlite.db, local dev: file:sqlite.db)
|
|
DATABASE_URL=file:sqlite.db
|
|
|
|
# TMDB API Read Access Token — get one at https://www.themoviedb.org/settings/api
|
|
TMDB_API_READ_ACCESS_TOKEN=your_tmdb_api_read_access_token_here
|
|
|
|
# Random secret for session encryption (min 32 chars)
|
|
BETTER_AUTH_SECRET=your_secret_here
|
|
|
|
# Public URL of your instance
|
|
BETTER_AUTH_URL=http://localhost:3000
|
|
|
|
# Optional: override TMDB base URLs (advanced)
|
|
# TMDB_API_BASE_URL=https://api.themoviedb.org/3
|
|
# TMDB_IMAGE_BASE_URL=https://image.tmdb.org/t/p
|