forked from CapSoftware/Cap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
68 lines (53 loc) · 2.14 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
###
### TODO: Consolidate next and vite env variables into one set of variables.
###
# ********** INDEX **********
#
# - REQUIRED
# --database
# --aws
# --resend
# - MISC
#### COPY THIS FILE TO .env AND UPDATE THE VALUES ####
# - REQUIRED ****************
NEXT_PUBLIC_ENVIRONMENT=development
NEXT_PUBLIC_URL=http://localhost:3000
NEXT_PUBLIC_PORT=3000
NEXT_PUBLIC_TASKS_URL=http://localhost:3002
NEXT_PUBLIC_URL=http://localhost:${NEXT_PUBLIC_PORT}
NEXTAUTH_URL=${NEXT_PUBLIC_URL}
VITE_SERVER_URL=${NEXT_PUBLIC_URL}
VITE_ENVIRONMENT=${NEXT_PUBLIC_ENVIRONMENT}
# IMPORTANT FOR LOCAL DEV:
# This determines whether or not the app will run in "local mode".
# when in local mode, auth will not be required in the desktop app
# and videos will not be uploaded to AWS S3.
NEXT_PUBLIC_LOCAL_MODE=false
# -- database ****************
#
# This is the URL for the PlanetScale database simulator,
# which will automatically be created on pnpm dev.
# It is used for local development only.
# For production, use the DATABASE_URL from your DB provider. Must include https for production use, mysql:// for local.
DATABASE_URL=mysql://root:@localhost:3306/planetscale
# This is the secret for the NextAuth.js authentication library.
# It is used for local development only.
# For production, use the NEXTAUTH_SECRET from your hosting environment.
NEXTAUTH_SECRET_DEV=dEnSH8rpZ4J8QXs/mE+HG+z4JCsQKdm6th+N+1jfsCw=
# Generate a secret with `openssl rand -base64 32`
NEXTAUTH_SECRET=
# -- aws ****************
## For use with AWS S3, to upload recorded caps. You can retrieve these credentials from your own AWS account.
## Uses CAP_ prefix to avoid conflict with env variables set in hosting environment. (e.g. Vercel)
CAP_AWS_ACCESS_KEY=
CAP_AWS_SECRET_KEY=
NEXT_PUBLIC_CAP_AWS_BUCKET=capso
NEXT_PUBLIC_CAP_AWS_REGION=us-east-1
# -- Deepgram (for transcription) ****************
DEEPGRAM_API_KEY=
# -- resend ****************
## For use with email authentication (sign up, sign in, forgot password)
RESEND_API_KEY=
# - MISC, NOT REQUIRED FOR DEV ****************
NEXT_LOOPS_KEY=
CAP_DESKTOP_SENTRY_URL=https://efd3156d9c0a8a49bee3ee675bec80d8@o4506859771527168.ingest.us.sentry.io/4506859844403200