-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.env.local.example
More file actions
39 lines (32 loc) · 1.31 KB
/
.env.local.example
File metadata and controls
39 lines (32 loc) · 1.31 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
# Local development environment example
# Copy to .env.local and fill in required values.
# Do NOT set DATABASE_URL if you want to use local PGlite.
# --- App / Auth ---
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_xxx
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
CLERK_SECRET_KEY=sk_test_xxx
# Public site URL
NEXT_PUBLIC_APP_URL=http://localhost:3000
# --- PGlite (local Postgres-in-WASM) ---
# Where to store local PGlite data (folder will be created if missing)
# If omitted, defaults to .pglite-data
PGLITE_DATA_DIR=.pglite-data
# Optional: set FORCE_LOCAL_DB=1 to always skip Supabase server-side.
# --- Supabase client (optional for local)
# Only needed if you use Supabase client-side features locally.
# NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
# NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# --- OneMap API (optional)
# ONEMAP_API_KEY=your_onemap_api_key
# --- Sentry / Tooling (optional)
# Disable Sentry warning with TurboPack
SENTRY_SUPPRESS_TURBOPACK_WARNING=1
# NEXT_PUBLIC_SENTRY_DSN=
# SENTRY_AUTH_TOKEN=
# --- Arcjet & Logging (optional)
# ARCJET_KEY=ajkey_xxx
# LOGTAIL_SOURCE_TOKEN=xxx
# --- Notes ---
# 1) Leave DATABASE_URL unset to use PGlite locally.
# 2) If you prefer a local Postgres instance instead of PGlite, set DATABASE_URL here.
# DATABASE_URL=postgres://user:pass@localhost:5432/dbname