Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ DEFT_AUDIT_BYPASS_TOKEN=
METRICS_SCRAPE_TOKEN=

# ── 7. Browser notifications (optional) ───────────────
# Generate once with: pnpm --filter @deft/api exec web-push generate-vapid-keys
# Generate once from a source checkout with:
# pnpm --filter @deft/api exec web-push generate-vapid-keys
# or, on a Docker install without pnpm, inside the running app container:
# docker compose exec -w /app/apps/api deft node_modules/.bin/web-push generate-vapid-keys
# VAPID_SUBJECT must start with mailto: or https://.
# Keep this keypair stable; rotating it invalidates browser subscriptions.
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
Expand Down
1 change: 1 addition & 0 deletions docs/self-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ can supply its own AI independently of Deft's provider configuration.
| `TRANSCRIPTION_OPENAI_API_KEY` | No | Key for that endpoint; empty falls back to `OPENAI_API_KEY`, and a keyless custom endpoint is called without one | `OPENAI_API_KEY` |
| `R2_ENDPOINT` / `R2_ACCESS_KEY` / `R2_SECRET_KEY` / `R2_BUCKET` | No | Cloudflare R2 uploads | local uploads volume |
| `METRICS_SCRAPE_TOKEN` | No | Bearer token for `/api/metrics` and `/health/queue`; unset disables detailed telemetry | none |
| `VAPID_PUBLIC_KEY` / `VAPID_PRIVATE_KEY` / `VAPID_SUBJECT` | No | Browser push notifications; set all three together, subject starting with `mailto:` or `https://`. Generate the keypair once (see `.env.example` section 7); rotating it invalidates existing browser subscriptions. Unset keeps the Inbox but disables Web Push | none |

### Opt-in Governed App Run keyrings

Expand Down
Loading