-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
87 lines (72 loc) · 3.17 KB
/
.env.example
File metadata and controls
87 lines (72 loc) · 3.17 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# ============================================================
# UXCore — Environment Variables
# ============================================================
# Copy this file to `.env.local` and fill in the values you need.
# Most contributors only need a minimal setup — see README.
#
# QUICKSTART (minimum to run the app):
# 1. Copy this file: cp .env.example .env.local
# 2. Generate a secret: openssl rand -base64 32
# → paste it as NEXTAUTH_SECRET below
# 3. Run the app: yarn dev
#
# Everything else is optional unless you're working on that feature.
# ============================================================
# ---------- Environment ----------
# Options: dev | staging | production
NEXT_PUBLIC_ENV=dev
# Set to "off" to disable search engine indexing on non-prod envs
NEXT_PUBLIC_INDEXING=off
# ---------- Domain ----------
# Your local dev URL (or deployed domain in production)
NEXT_PUBLIC_DOMAIN=http://localhost:3005
# ---------- Analytics (optional for contributors) ----------
# Get a free token at https://mixpanel.com — leave empty to disable analytics
NEXT_PUBLIC_MIXPANEL_TOKEN=
# Ahrefs Analytics key — leave empty for local development
NEXT_PUBLIC_AHREFS_ANALYTICS_KEY=
# Google Analytics measurement ID — only used in production with indexing on,
# safe to leave empty for local development
NEXT_PUBLIC_GA_MEASUREMENT_ID=
# ---------- Backend / API ----------
# Strapi CMS public URL (used by the browser) — staging instance is fine for dev
NEXT_PUBLIC_STRAPI=https://staging-strapi.keepsimple.io
# Strapi CMS server-side URL (used by Next.js server)
# Usually the same as NEXT_PUBLIC_STRAPI
STRAPI_URL=https://staging-strapi.keepsimple.io
# UX Cat API endpoint — staging instance for development
NEXT_PUBLIC_UXCAT_API=https://staging-uxcat.keepsimple.io/
# ---------- NextAuth ----------
# Generate a random secret with: `openssl rand -base64 32`
NEXTAUTH_SECRET=
# Should match your local dev URL
NEXTAUTH_URL=http://localhost:3005
# ============================================================
# OAuth Providers (OPTIONAL for contributors)
# ============================================================
# You only need these if you're working on authentication features.
# For most UI/feature work, you can leave them empty — the app will
# run without auth, you just won't be able to sign in.
#
# If you do need auth locally, follow the setup guides below to
# create your own OAuth apps (takes ~5 min per provider).
# Set the redirect URL to:
# http://localhost:3005/api/auth/callback/[provider]
# ============================================================
# ---------- Google OAuth ----------
# Setup: https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# ---------- LinkedIn OAuth ----------
# Setup: https://www.linkedin.com/developers/apps
LINKEDIN_CLIENT_ID=
LINKEDIN_CLIENT_SECRET=
# ---------- Discord OAuth ----------
# Setup: https://discord.com/developers/applications
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
# ---------- Mail.ru OAuth ----------
# Setup: https://o2.mail.ru/app/
# Server-only — never prefix with NEXT_PUBLIC_, never reference from a .tsx file.
MAILRU_CLIENT_ID=
MAILRU_CLIENT_SECRET=