-
Notifications
You must be signed in to change notification settings - Fork 16
/
.env.example
44 lines (32 loc) · 1.65 KB
/
.env.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# create a .env.local file and add the corresponding key value pairs
# during deployment, add these environment variable to the secrets of the
# platform where the site will be deployed
# this is appended with NEXT_PUBLIC_ so that it can be accessed from the frontend
NEXT_PUBLIC_RAZORPAY_API_KEY=<your_api_key_here>
RAZORPAY_API_SECRET=<your_api_secret_here>
# this secret must be same as which is used to setup razorpay webhooks
# which will be used by razorpay to sign the digest of the verification
RAZORPAY_WEBHOOK_SECRET=<your_webhook_secret_here>
# TODO: write documentation for these environment variables
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
MONGO_INITDB_ROOT_USERNAME=<your_root_username>
MONGO_INITDB_ROOT_PASSWORD=<your_root_password>
MONGO_DATABASE_NAME=<your_database_name>
MONGO_PORT=<mongodb_port>
MONGO_URL=mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@localhost:${MONGO_PORT}
# to generate service-account-file.json, refer to
# https://firebase.google.com/docs/admin/setup#node.js_4
# GOOGLE_APPLICATION_CREDENTIALS=<absolute-path-to-service-account-file.json>
# note that there are no spacec between comma and email
# create a realtime database on firestore and put the url here
FIREBASE_REALTIME_DATABASE_URL=https://<DATABASE>.firebaseio.com
# Copy the project_id, private_key, client_email from the service-account-file.json
PROJECT_ID=<project_id>
PRIVATE_KEY=<private_key>
CLIENT_EMAIL=<client_email>