-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.local.example
28 lines (24 loc) · 1.18 KB
/
.env.local.example
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
# Copy this file as ".env.local".
# Update these with your Firebase app's values.
NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY=MyExampleAppAPIKey123
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=my-example-app.firebaseapp.com
NEXT_PUBLIC_FIREBASE_DATABASE_URL=https://my-example-app.firebaseio.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=my-example-app-id
# Set this to localhost for development
NEXT_PUBLIC_URL=http://localhost:3000
# Set this to * to whitelist any domain for Firebase
ALLOWED_ORIGINS=*
# Your Firebase private key.
# I'll look more into the part underneath after we're done prototyping -John Carlo
# -------------------------------------------------------------------
# When using Vercel, add the private key with double quotes
# via the CLI, not the Vercel dashboard:
# vercel secrets add firebase-private-key '"my-key-here"'
# Then, use `JSON.parse` in the app. See:
# https://github.com/vercel/vercel/issues/749#issuecomment-707515089
# -------------------------------------------------------------------
FIREBASE_PRIVATE_KEY='"some-key-here"'
# Secrets used to sign cookies.
COOKIE_SECRET_CURRENT=someSecretValue
COOKIE_SECRET_PREVIOUS=anotherSecretValue