-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (41 loc) · 2.32 KB
/
.env.example
File metadata and controls
49 lines (41 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
DATABASE_URL=sqlite:boardtask.db
# Base URL for emails (verification links) and GitHub App webhook/setup URLs.
# Production: https://boardtask.app — local dev with GitHub: use an HTTPS tunnel origin (ngrok, cloudflared) and set this to that URL.
APP_URL=http://localhost:3000
# Email
# MAIL_ADAPTER=console (default) or smtp
# MAIL_FROM=from/reply address for outgoing emails (required; unset uses [email protected])
# SMTP (only when MAIL_ADAPTER=smtp)
# SMTP_HOST=
# SMTP_PORT=587
# SMTP_USER=
# SMTP_PASS=
# SMTP_ENCRYPTION: unset = auto (port 465 → tls/SMTPS, other ports → starttls).
# starttls | tls | none — use none only for local mail sinks (e.g. Mailpit), not production.
# SMTP_ENCRYPTION=
# --- GitHub App (register once at github.com → Settings → Developer settings → GitHub Apps) ---
#
# Required for “Connect GitHub” (install flow): webhook secret + slug OR full install URL.
# Optional until API/webhooks: GITHUB_APP_ID, GITHUB_APP_PRIVATE_KEY
#
# Manual registration checklist (do not commit real secrets):
# - Homepage URL: https://boardtask.app (or your APP_URL)
# - Webhook URL: {APP_URL}/api/integrations/github/webhook
# - Setup URL: {APP_URL}/app/integrations/github/callback (must match APP_URL; if GitHub omits installation_id on return, fix this URL or clear the OAuth callback below)
# - Callback URL (OAuth): leave blank until user-to-server OAuth is implemented (install flow uses Setup URL only)
# - Webhook secret: paste the same value as GITHUB_WEBHOOK_SECRET below
# - Permissions: Repository metadata Read; Pull requests Read; Checks Read when needed
# - Events: installation, installation_repositories, pull_request (plus check_run/check_suite later)
# - Visibility: can start Private (org-only) then Advanced → Make public when ready
#
# Generate webhook secret: openssl rand -hex 32
GITHUB_WEBHOOK_SECRET=
# Public slug from https://github.com/apps/<slug> (required unless GITHUB_APP_INSTALL_URL is set)
GITHUB_APP_SLUG=
# Optional: full install URL base, e.g. https://github.com/apps/my-app/installations/new
# GITHUB_APP_INSTALL_URL=
# From the GitHub App → General page (API / JWT; not required for install-only Phase 1)
GITHUB_APP_ID=
# PEM contents in one line; use \n for newlines, e.g. -----BEGIN RSA PRIVATE KEY-----\nMII...
GITHUB_APP_PRIVATE_KEY=