-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
53 lines (44 loc) · 1.79 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
45
46
47
48
49
50
51
52
53
# Since the ".env" file is gitignored, you can use the ".env.example" file to
# build a new ".env" file when you clone the repo. Keep this file up-to-date
# when you add new variables to `.env`.
# This file will be committed to version control, so make sure not to have any
# secrets in it. If you are cloning this repo, create a copy of this file named
# ".env" and populate it with your secrets.
# When adding additional environment variables, the schema in "/src/env.mjs"
# should be updated accordingly.
# Database settings
# =================
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL=postgres://root:root@localhost:5432/app
# Auth settings
# =============
# Expiry time for OTP in seconds. Default is 600 seconds (10 minutes).
OTP_EXPIRY=600
# Secret to hash sessions. Can use https://1password.com/password-generator/ to generate a strong secret.
SESSION_SECRET=random_session_secret_that_is_at_least_32_characters
# Mail settings
# =============
POSTMAN_API_KEY=
# If using Sendgrid instead, the API token and "From" address must be set together.
SENDGRID_API_KEY=
SENDGRID_FROM_ADDRESS=
# Assets upload settings
# =====================
NEXT_PUBLIC_S3_ASSETS_DOMAIN_NAME=user-content.example.com
NEXT_PUBLIC_S3_ASSETS_BUCKET_NAME=assets-bucket
# SGID settings
# =============
# If set to true, enables SGID login
NEXT_PUBLIC_ENABLE_SGID=
SGID_CLIENT_ID=
SGID_CLIENT_SECRET=
SGID_REDIRECT_URI=
SGID_PRIVATE_KEY=
# Other settings
# ================
NEXT_PUBLIC_APP_NAME="Isomer Studio (EXAMPLE)"
# NEXT_PUBLIC_APP_URL= # Uncomment to set application URL
NEXT_PUBLIC_APP_ENV='development'
# Growthbook
GROWTHBOOK_CLIENT_KEY=xyz