-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
51 lines (39 loc) · 1.61 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
# Any changes in this file need to be reflected in the following files:
# - Server only env vars: file://./packages/constants/src/server.ts
# - Client only env vars: file://./packages/constants/src/client.ts
# - Both: file://./turbo.json
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
DATABASE_URL="postgresql://postgres:@localhost:5432/postgres?schema=public"
DIRECT_URL="postgresql://postgres:@localhost:5432/postgres?schema=public"
# Auth.js Email server
EMAIL_SERVER="smtp://0.0.0.0:1025"
EMAIL_FROM="hello@props.to"
# Props.to environment: accepts the same values as NODE_ENV
PROPSTO_ENV="development"
# Resend (optional) - Only used when PROPSTO_ENV is set to production
RESEND_API_KEY=""
# Auth.js Secret
# You can generate a new secret on the command line with:
# openssl rand -base64 32
# https://next-auth.js.org/configuration/options#secret
AUTH_SECRET=""
# Props.to host
PROPSTO_HOST="propsto.local"
# Props.to App port and hostname for Next.js dev server
PROPSTO_APP_PORT="3000"
PROPSTO_APP_HOSTNAME="app.$PROPSTO_HOST"
# Props.to Web port and hostname for Next.js dev server
PROPSTO_WEB_PORT="3001"
PROPSTO_WEB_HOSTNAME="$PROPSTO_HOST"
# Props.to Auth port and hostname for Next.js dev server
PROPSTO_AUTH_PORT="3002"
PROPSTO_AUTH_HOSTNAME="auth.$PROPSTO_HOST"
# Auth.js domain
AUTH_URL="http://$PROPSTO_AUTH_HOSTNAME:$PROPSTO_AUTH_PORT"
# To support legacy flows from Next-Auth v4
NEXTAUTH_URL="http://$PROPSTO_AUTH_HOSTNAME:$PROPSTO_AUTH_PORT"
# Props.to App URL
PROPSTO_APP_URL="http://$PROPSTO_APP_HOSTNAME:$PROPSTO_APP_PORT"
# Vercel Blob for avatars
BLOB_READ_WRITE_TOKEN=""