Skip to content

Commit 1381992

Browse files
committed
add .env local example
1 parent 488716e commit 1381992

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.env.local.example

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Authentication System variables
2+
KEYCLOAK_CLIENT_ID='keycloakid'
3+
KEYCLOAK_CLIENT_SECRET='keycloaksecret'
4+
AUTH_ISSUER=https://keycloakdomain.com/auth/realms/keycloakrealm
5+
NEXTAUTH_URL=http://localhost:3000
6+
NEXTAUTH_SECRET='nextauthsecret'
7+
END_SESSION_URL=https://keycloakdomain.com/auth/realms/keycloakrealm/protocol/openid-connect/logout
8+
REFRESH_TOKEN_URL=https://keycloakdomain.com/auth/realms/keycloakrealm/protocol/openid-connect/token
9+
10+
# # Backend System variables
11+
NEXT_PUBLIC_BACKEND_URL= https://backendurl
12+
BACKEND_URL= https://backendurl
13+
14+
NEXT_PUBLIC_BACKEND_GRAPHQL_URL=https://backendurl/api/graphql
15+
BACKEND_GRAPHQL_URL=https://backendurl/api/graphql
16+
17+
NEXT_PUBLIC_ENABLE_ACCESSMODEL = 'false'
18+
NEXT_PUBLIC_ANALYTICS_URL ='https://analyticsurl'
19+
20+
21+
# # Sentry feature related env varibale
22+
SENTRY_FEATURE_ENABLED='true'
23+
SENTRY_AUTH_TOKEN='sentryauthtoken'
24+
SENTRY_DSN_URL=https://sentrydsnurl
25+
NEXT_PUBLIC_SENTRY_DSN_URL=https://sentrydsnurl
26+
SENTRY_ORG_NAME='orgname'
27+
SENTRY_PROJECT_NAME='projectname'
28+
NEXT_PUBLIC_PLATFORM_URL = 'https://platformurl'
29+

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ yarn-debug.log*
2525
yarn-error.log*
2626

2727
# local env files
28-
.env*.local*
28+
.env*.local
2929

3030
# vercel
3131
.vercel

0 commit comments

Comments
 (0)