-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.local.example
More file actions
31 lines (25 loc) · 2.12 KB
/
.env.local.example
File metadata and controls
31 lines (25 loc) · 2.12 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
# Note: Template example
# This file is an example, meant to be duplicated as ".env.local" for local override
# See https://nextjs.org/docs/basic-features/environment-variables
# Note: Tips: How is this file meant to be used?
# This file is NOT tracked by git and can contain sensitive information, or override variables from ".env".
# Note: Tips: When is this file being used?
# This file is used only when building the Next.js app locally (localhost), whether it's for running `next dev` or `next build`.
# For staging/production stages, the app relies on "vercel.{NEXT_PUBLIC_CUSTOMER_REF}.{NEXT_PUBLIC_APP_STAGE}.yml:build.env".
# Note: Tips: What's the difference between env vars starting with "NEXT_PUBLIC_" and the others?
# All env variables that DON'T start with "NEXT_PUBLIC_" MUST be manually exposed by ./next.config.js for the project to work locally
# "NEXT_PUBLIC_" has a semantic purpose. If you mean to use a variable on the browser, then you should use "NEXT_PUBLIC_".
# Any non-sensitive env variable should start with "NEXT_PUBLIC_".
# Sensitive information MUST NOT start with "NEXT_PUBLIC_".
# You must be careful to use sensitive information only on the server-side, because if you use them on the browser or getInitialProps, they'll be leaked, even if the variable doesn't start with "NEXT_PUBLIC_".
# Any change to this file needs a server restart to be applied.
# Sentry DSN, can be found under "Your project > Client Keys (DSN)" at https://sentry.io/settings/YOUR_ORG/projects/YOUR_PROJECT/keys/
# Used to send monitoring events (errors, etc.)
# Optional - If not set, the app will work anyway, it just won't send any event
# Example (fake value): https://14fa1cae05079675b18cd05403ae5c48@sentry.io/1234567
NEXT_PUBLIC_SENTRY_DSN=
# Sentry authentication token, can be found under "Settings => Account => API => Auth Tokens" at https://sentry.io/settings/account/api/auth-tokens/
# Used to send soure maps to Sentry
# See https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#environment-variables
# Requires project:releases and org:read - See https://github.com/getsentry/sentry-webpack-plugin#options
SENTRY_AUTH_TOKEN=