Skip to content
Source
Sign inSign up
samwillis/hackernews-realtime
Open History to see the last commit

.env.example

36 lines1.3 KB

1# Application server only. Supply real values in .env.local.
2DATABASE_URL=
3DATABASE_URL_UNPOOLED=
4NEON_REALTIME_SECRET=
5NEON_REALTIME_URL=
6NEON_REALTIME_DATABASE_NAME=neondb
7​
8# Browser-visible WebSocket URL. Same value as NEON_REALTIME_URL.
9NEXT_PUBLIC_NEON_REALTIME_URL=
10​
11# Local tooling only. Never prefix these with NEXT_PUBLIC_.
12# Setting the profile alone does not select staging: both hosts are required.
13NEON_API_HOST=https://console-stage.neon.build/api/v2
14NEON_OAUTH_HOST=https://oauth2-stage.neon.build
15​
16# Optional override for scripts that build packages from a local checkout.
17# The implementation will accept a portable path instead of hardcoding one.
18NEON_PKGS_DIR=
19​
20# Dedicated ingestion target. Policy defaults to disabled on every branch.
21NEON_PROFILE=staging
22INGEST_PROJECT_ID=
23INGEST_BRANCH_ID=
24ENABLE_INGEST=0
25# Observed staging configuration: two-minute tenure, four-minute absolute request.
26INGEST_REQUEST_BUDGET_MS=240000
27INGEST_TENURE_MS=120000
28INGEST_OVERLAP_MS=90000
29# Spread upstream bursts over this window; 0 publishes immediately (max 60000).
30INGEST_SMOOTHING_MS=28000
31# Exact deployed browser origin, set before deploying Neon policy.
32DEMO_ORIGIN=
33DEMO_ADDITIONAL_ORIGINS=
34NEXT_PUBLIC_MEASURE_REALTIME=0
35# Explicit development-only fixture; never used by a production build.
36HN_FIXTURE=0