-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (34 loc) · 2 KB
/
Copy path.env.example
File metadata and controls
40 lines (34 loc) · 2 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
# ─────────────────────────────────────────────────────────────────────────
# Roo_mue environment template. Copy to `.env` and fill in.
# Local development runs entirely on the values committed in `.env`.
# ─────────────────────────────────────────────────────────────────────────
# ---- Database --------------------------------------------------------------
# LOCAL (default): SQLite, no setup required.
DATABASE_URL="file:./dev.db"
# PRODUCTION: Postgres / Supabase. Switch prisma/schema.prisma provider to
# "postgresql" and use a value like:
# DATABASE_URL="postgresql://USER:PASSWORD@HOST:5432/roomue?schema=public"
# ---- NextAuth --------------------------------------------------------------
NEXTAUTH_URL="http://localhost:3000"
# Generate with: openssl rand -base64 32
NEXTAUTH_SECRET="dev-only-secret-change-me"
# ---- Test access (demo login, no registration) ----------------------------
# Entering this code in BOTH email and password fields signs in to a shared
# demo account. Set ENABLE_TEST_LOGIN=false to disable (recommended in prod).
TEST_LOGIN_CODE="12345678"
ENABLE_TEST_LOGIN="true"
# ---- Google OAuth ----------------------------------------------------------
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# ---- Supabase Storage (session data / translation history assets) ----------
NEXT_PUBLIC_SUPABASE_URL=""
NEXT_PUBLIC_SUPABASE_ANON_KEY=""
SUPABASE_SERVICE_ROLE_KEY=""
# ---- Email OTP (registration step 3) ---------------------------------------
# SMTP for sending the 6-digit verification code. Leave blank in dev to log
# the code to the server console instead of sending email.
EMAIL_SERVER_HOST=""
EMAIL_SERVER_PORT="587"
EMAIL_SERVER_USER=""
EMAIL_SERVER_PASSWORD=""
EMAIL_FROM="Roo_mue <no-reply@roomue.app>"