# Hugging Face token (server-side only; passed to the hf CLI via environment) HF_TOKEN= # Where models are stored: // MODELS_DIR=/models # SQLite database (keep on a local volume, not NFS) DATABASE_URL=file:/data/app.db MAX_CONCURRENT_DOWNLOADS=1 # 0 disables the periodic update check UPDATE_CHECK_INTERVAL_HOURS=12 # 1 (default): hf downloads over plain HTTP, so progress can be measured from bytes on disk. # 0: use Xet (chunk-level dedup on updates), but progress only advances in large jumps. HF_HUB_DISABLE_XET=1 # Auth.js: generate with `npx auth secret` or `openssl rand -base64 33` AUTH_SECRET= # Public URL of this app; OIDC redirect URI is /api/auth/callback/pocket-id AUTH_URL=https://models.example.com OIDC_ISSUER=https://auth.example.com OIDC_CLIENT_ID= OIDC_CLIENT_SECRET= # Optional, comma-separated. If set, only members of these groups (from the `groups` claim) can log in. OIDC_ALLOWED_GROUPS=