Self-hosting and production deployment
Before opening a hosted deployment to users, work through the production readiness checklist.
For Kubernetes (Helm), AWS (Terraform), offline mode and the list of outbound hosts, see the self-hosting kit.
Vercel and Convex Free
The hosted deployment runs on Vercel Pro in team <vercel-team>, with Convex Free at <prod-deployment>. Real resource names are kept out of this public repo; look them up in the Vercel and Convex dashboards.
- Hosting history: the deployment was verified on the
<hobby-team>Hobby team on 2026-10-04 and moved back to the Pro team on 2026-10-15. The move used Vercel's zero-downtime project transfer, so the project ID<vercel-project-id>, deployments, environment variables, domains and the Git link are unchanged. - Older URLs: deployment URLs created before the move keep their
-<hobby-team>suffix. - Canonical URL: https://openreview.tech (since 2026-10-15). The original
<vercel-url>and https://www.openreview.tech redirect to it with a 308. - Convex resource: it is managed by the Convex Marketplace integration in the same Pro team. Do not remove that integration: it owns the live backend.
- Local CLI: the link (
.vercel/project.json) and the CLI's default team target the Pro team. - Evidence: full evidence and acceptance boundaries are in acceptance-matrix.md.
Custom domain and Git deployments (October 15, 2026)
- Domain.
openreview.techis registered through Vercel in the team<vercel-team>. That team also hosts its DNS, pays its renewal and, since 2026-10-15, owns theopenreviewproject.www.openreview.techand the.vercel.appalias redirect to the apex.- The
_vercelTXT records added while the project lived in<hobby-team>are no longer needed, but they are harmless.
- The
- Origins.
APP_URLishttps://openreview.techin Vercel Production and in Convex<prod-deployment>.- The GitHub App's callback URLs include
https://openreview.tech/api/auth/callback; the earlier callbacks are kept. - The App's setup URL is
https://openreview.tech/api/github/callback. - The webhook is unchanged at
https://<prod-deployment>.convex.site/github/webhook.
- Git. The project deploys from
mbelenkiy29/OPENREVIEW(namedGREPTILEuntil 2026-10-16; the old URL redirects, and Vercel follows the repository by ID) with production branchmain, so merges tomaindeploy automatically.- The Ignored Build Step (
if [ "$VERCEL_ENV" = "production" ]; then exit 1; else exit 0; fi) builds production only, and branch pushes are skipped. This is because the Preview-scopedCONVEX_DEPLOY_KEYcould not be confirmed to be a Convex preview key. A production key there would deploy unmerged branches to the production backend. - Before enabling previews, set a Convex preview deploy key for Preview and clear the ignore command.
- The Ignored Build Step (
- After a domain change. Anything registered against the old origin needs updating:
- The Linear OAuth app needs
https://openreview.tech/api/integrations/linear/callback. - The Atlassian app needs
https://openreview.tech/api/integrations/atlassian/callback. - A desktop bridge paired with the old origin must be paired again (
openreview bridge pair --url https://openreview.tech), because bridge requests refuse redirects.
- The Linear OAuth app needs
For a personal test deployment, host the Next.js application on Vercel Hobby and the backend on Convex Free. Vercel Hobby requires personal, non-commercial use. Convex Free has hard usage limits; model API calls are billed separately by the configured model provider. Do not enable a paid plan to bypass these limits without operator approval.
- Link this directory to your Vercel Hobby project with
vercel link. Provision the Convex Free Marketplace resource for that project and connect it to Production and Preview, with Sensitive enabled and no custom prefix. Accept the Marketplace/Convex agreements in your account. Keep development pointed at the existing local backend. Marketplace resources belong to a Vercel-managed Convex team; open the resource's Open in Convex link if it is missing from your personal Convex team. - The committed
vercel.jsondeploys Convex and builds Next.js together. The integration provides the productionCONVEX_DEPLOY_KEY; never expose it through aNEXT_PUBLIC_variable.convex deployinjectsNEXT_PUBLIC_CONVEX_URLduring the frontend build. - Set Vercel Production variables:
APP_URL(the canonical HTTPS site origin),NEXT_PUBLIC_CONVEX_SITE_URL(the deployment's.convex.siteorigin),SESSION_SECRET,SERVICE_SECRET,GITHUB_CLIENT_ID,GITHUB_CLIENT_SECRET,GITHUB_APP_ID,GITHUB_APP_PRIVATE_KEY,GITHUB_APP_SLUG, andCREDENTIAL_ENCRYPTION_KEY. The App private key is used by the installation callback; the encryption key is used by provider setup. Keep both server-only. - Set Convex production variables using its dashboard or
convex env set --from-filetargeting the cloud deployment:APP_URL, matchingSESSION_SECRET/SERVICE_SECRET,GITHUB_APP_ID,GITHUB_APP_PRIVATE_KEY,GITHUB_WEBHOOK_SECRET,CREDENTIAL_ENCRYPTION_KEY, and the configuredLLM_*values. Only the backend needs the model API key. Configure operator-approvedSCM_ALLOWED_HOSTSwhen connecting additional provider instances. - Configure the existing GitHub App's OAuth callback as
https://<web-origin>/api/auth/callback, installation setup URL ashttps://<web-origin>/api/github/callback, and webhook URL ashttps://<deployment>.convex.site/github/webhook. Preserve its selected-repository permissions. Stop the old webhook tunnel after delivery to the cloud endpoint is verified. - Deploy with
vercel --prod. Verify the public/api/healthand Convex/health, sign in through GitHub, check workspace/repository visibility and indexing, and verify an actual webhook delivery and review. A successful build or health response alone does not prove the review loop.
Before migrating existing data, export a snapshot with file storage and preserve it securely. Import into the new cloud deployment only; retain the original local database until the hosted workspace is verified. Secrets and snapshot exports are excluded from Git and deployment uploads. Existing bridge devices must point at the hosted application; a fresh production workspace requires a new pairing.
Use an explicit cloud deployment reference for every migration command, for example --deployment <team-slug>:<project-slug>:prod; do not rely on the local project's default deployment. Verify the target's dashboard identity and empty Data/Files views before importing. Import the snapshot without --replace, --replace-all or --yes, so unexpected existing data cannot be silently erased. Retain the existing credential encryption key when importing encrypted provider records, and use matching session/service secrets on web and backend. Check provider instance allowlists before enabling cloud jobs: local-only provider URLs cannot be reached from the cloud. Review default-off automation policies and terminal job states before import; preserve the local backup until hosted sign-in, stored file access and webhook processing pass.
The local coding agent still runs on the paired user's machine. Docker runtime validation requires its separately deployed worker; Vercel and Convex do not provide a Docker daemon.
Sign-in email abuse protection
Turn this on before the emailed sign-in link gets traffic. Details and defaults are in identity.md.
-
Cloudflare Turnstile. Create a widget in Managed mode for
openreview.tech, then setTURNSTILE_SITE_KEYandTURNSTILE_SECRET_KEYon the web app (Production).- Start with
TURNSTILE_MODE=monitor. - Monitor mode refuses nothing on the check's result but records it on each
auth.magic_linkline asturnstile.outcome; the form waits for the token just as it does when enforcing. After a few days with few"outcome":"fail"among real users, remove it (enforce is the default). TURNSTILE_MODE=offis the kill switch.
- Start with
-
Caps. Set
AUTH_EMAIL_HOURLY,AUTH_EMAIL_DAILYandUSER_EMAIL_DAILYon Convex so that together they stay below the Resend plan's daily quota. -
Internal accounts. Set
ANALYTICS_INTERNAL_EMAIL_DOMAINS,ANALYTICS_INTERNAL_EMAILSorANALYTICS_INTERNAL_GITHUB_LOGINSon Convex. -
Old counters. After the deploy, run
npx convex run authHygiene:dropUnexpiringCounters --prodonce. -
Vercel Firewall (optional). Add a rate-limit rule as an outer layer before functions run: per IP, about 20 a minute on
POST /api/auth/email,POST /api/changelog/subscribeand/sso/start. -
Self-hosted. Set
CLIENT_IP_SOURCEto your proxy's header:- nginx:
header:x-real-ipwithproxy_set_header X-Real-IP $remote_addr. - AWS ALB:
xff-rightmost.
Bridge pairing uses a separate, explicit trust policy described below.
- nginx:
See Convex's Vercel deployment guide, Convex limits, and Vercel Hobby eligibility.
Bridge pairing client identity
By default, POST /api/bridge/pair ignores all forwarding headers. All callers share the unknown bucket of 30 accepted pairings per minute. The backend also retains its deployment-wide 300-per-minute cap. This default applies on Vercel too; VERCEL and CLIENT_IP_SOURCE do not opt bridge pairing into header trust. Next.js Request does not expose the TCP peer address.
To separate legitimate clients, set one of these exact values on the web app:
BRIDGE_TRUSTED_IP_HEADER=x-real-ipBRIDGE_TRUSTED_IP_HEADER=x-forwarded-for
Enable this only when the trusted ingress strips caller-supplied copies of the selected header and replaces them with exactly one verified client IP on every request. Block direct access to the application origin and all alternate ingress paths that bypass this rule. The other header is always ignored, even if the selected header is missing or invalid. Header validation cannot make an untrusted ingress safe.
For a single nginx ingress that directly receives client connections, proxy_set_header X-Real-IP $remote_addr; replaces the selected header; restrict the web listener to that ingress. Behind additional proxies, first configure and verify how the ingress obtains the real client address. Do not enable this policy for a proxy that only appends X-Forwarded-For; neither the first nor the last entry is trusted automatically. Verify hosted-provider header replacement and origin protection before opting in; the platform name alone is not a trust guarantee.
The selected header must contain a single IPv4 or bare IPv6 address. Surrounding whitespace is removed. IPv6 spelling is canonicalized, and IPv4-mapped IPv6 shares the IPv4 bucket. Missing, empty, malformed, overlong, port-qualified, bracketed, zone-qualified, duplicate, or comma-separated values use unknown; no chain entry or alternate header is selected. An unset or unsupported configuration also uses unknown.
This change can reduce pairing throughput on existing deployments until a verified ingress policy is configured. Clients behind the same address share a limit. The HTTP error contract and signed-in workspace-write approval remain unchanged; rate limiting does not authenticate a device.
Docker deployment
Run the web app and Convex open-source backend on your own infrastructure. See Convex self-hosting and the upstream Docker configuration.
- Install Docker/Compose and Node.js 24/pnpm 11 on your administration machine.
- Copy
.env.exampleto.env.local. Generate independent 32-byte random values forSESSION_SECRET,SERVICE_SECRET,GITHUB_WEBHOOK_SECRET, andCONVEX_INSTANCE_SECRET. Do not reuse the session secret as the instance secret. - Set
APP_URLto the HTTPS web origin,CONVEX_PUBLIC_BACKEND_URLto your HTTPS Convex client/admin origin, andCONVEX_PUBLIC_SITE_URLto the HTTPS HTTP-action origin. SetNEXT_PUBLIC_CONVEX_SITE_URLto that site origin. These URLs must be reachable by GitHub (webhooks) and the web server (Convex). - Put TLS reverse proxies in front of ports 3000, 3210, and 3211. Compose binds them to loopback. Keep administrative access restricted and do not publish Docker sockets. If moving web/backend to separate hosts, update the internal
NEXT_PUBLIC_CONVEX_URLoverride accordingly. - Set environment values and export the Compose variables in your shell, or use
docker compose --env-file .env.local. Start the backend:
docker compose --env-file .env.local up -d backend
docker compose exec backend ./generate_admin_key.sh
Save the generated admin key securely. It is an operator credential and must never be shipped to the browser or MCP client.
- Deploy functions and schema:
CONVEX_SELF_HOSTED_URL=http://127.0.0.1:3210 \
CONVEX_SELF_HOSTED_ADMIN_KEY='<admin-key>' \
pnpm exec convex deploy
- Synchronize required backend secrets and model variables using
convex env set --from-file .env.backendwith the same self-hosted URL/admin key..env.backendmust includeSESSION_SECRET,SERVICE_SECRET,GITHUB_APP_ID,GITHUB_APP_PRIVATE_KEY,GITHUB_WEBHOOK_SECRET, and yourLLM_*settings. The web additionally needs GitHub client ID/secret, App slug, andAPP_URL. - Build/start the web service:
docker compose --env-file .env.local up -d --build web
- Register/configure the GitHub App as described in README, sign in, create a workspace, install the App, enable a test repository, wait for indexing, and open a deliberately buggy cross-file PR. Verify comment/evidence/resolution with the real model before enabling reviews broadly.
Health endpoints: /api/health (web), /health on the Convex HTTP origin, /version on the backend origin. The web health response distinguishes configured environment from liveness; it does not prove GitHub/model reachability.
Pin CONVEX_BACKEND_IMAGE to a tested tag or digest for production. Compose pins the backend digest verified during implementation; review upstream release notes before changing it. Back up the entire Convex data volume consistently, including storage, and rehearse restoration. Use encrypted disks/backups. Follow upstream Convex upgrade instructions; do not delete the data volume to upgrade.
Dependency checks: run pnpm audit --prod, review findings, and use patched versions. GitHub App access should be limited to selected repositories. Model provider URLs are operator-controlled and must be trusted; private endpoints require explicit local opt-in.
Docker build/Compose execution require a functioning Docker daemon. Real deployment and GitHub/model acceptance cannot be verified with unit fixtures alone. See docs/implementation-status.md for current evidence and limits.
From a fresh checkout, run bash scripts/docker-smoke.sh to build the web image and check its non-root runtime, health endpoint, public assets, and generated JavaScript with container networking disabled. This needs Bash and Docker, but no backend or credentials. It does not verify sign-in, backend connectivity, or model reviews.
To check an existing image without rebuilding it, run bash scripts/docker-smoke.sh openreview:local.
GitHub Enterprise API and author identity
Enterprise Server connections accept the instance root or its /api/v3 API root. API requests use /api/v3; source and clone links use the actual server hostname, including servers whose hostname starts with api.. Dedicated GHE.com connections use api.SUBDOMAIN.ghe.com for API calls and SUBDOMAIN.ghe.com for source/clone links. Add the input instance host to SCM_ALLOWED_HOSTS; when entering its web host, also explicitly authorize the derived API host. Credentials are never forwarded through redirects.
After installing the OpenReview GitHub App, authors link an existing personal account token in Personal Settings → Review Settings. The authenticated profile and PR author must have the same immutable native user ID on that connection. This link is separate from the installation key and from GitHub.com sign-in. Links expire after 24 hours, can be revoked, and require re-linking after their instance/kind/credential authority changes. Legacy personal links created before instance-bound authority also require re-linking; GitHub.com sign-in and native P4 links are unaffected. Enterprise Server/GHE.com live acceptance requires a real Enterprise installation and author account; contract coverage alone does not establish it.
Bitbucket Data Center author identities
After connecting the admin-managed native bot, authors link an existing personal HTTP access token in Personal agents. The instance must expose its native authenticated X-AUSERNAME response header and permit filtered read-only user lookup. Reverse proxies that remove this header will cause verification to fail; OpenReview does not substitute a user-entered account name. Actual Data Center author identity and review/publication acceptance require a provisioned Data Center installation and remain unverified until tested there.
Support and updates contract
Self-hosting is free, and every feature is on. Companies that want a vendor to call can buy a yearly support and updates contract.
It covers:
- Named support contacts on your side and ours.
- Response targets for incidents and questions, written into the contract.
- Help with upgrades and migrations.
- Security advisories before they are public.
It does not cover:
- Access to features. Nothing in the code is locked, so there is nothing to unlock.
- A license key. There is none, and the code stays MIT.
OpenReview adds no telemetry, phone-home or license check for this. Your install talks to the same endpoints with or without a contract. The contract is invoiced yearly; ask through the contact link on the pricing page.