-
Notifications
You must be signed in to change notification settings - Fork 29
/
.env.development
50 lines (35 loc) · 1.59 KB
/
.env.development
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
# DO NOT EDIT .env.development! (except during development)
# COPY ME in ".env.development.local" beforehand
# ## App setup
# Setup in production with your final main URL
# With port and protocol: https://origin:port
APP_URL=
# ## Environment
NEXT_PUBLIC_NODE_ENV=development
# Needed for Cypress tests as middleware env variables are defined at build time
# @see https://github.com/vercel/next.js/discussions/36338
NEXT_PUBLIC_IS_LOCAL=1
NEXT_PUBLIC_IS_CI=0
# ## Auth and security
# If token is less than 32 char you'll get "Password too short error"!
TOKEN_SECRET=this-is-a-token-secret-with-at-least-32-chars
# if you have changed ADMIN_INITIAL_PASSWORD here in .env.development, please add the
# value in your local .env.test.local (it's safe, it's not tracked by git) so Cypress can work correctly
ADMIN_INITIAL_PASSWORD=vulcan_is_cool
# ## API
NEXT_PUBLIC_GRAPHQL_URI=http://localhost:3000/api/graphql
# Set to 1 when relying on a cross-domain API (provided by Vulcan Express, Vulcan Meteor backend or another Vulcan Next app for instance)
# NEXT_PUBLIC_CROSS_DOMAIN_GRAPHQL_URI=1
APOLLO_SERVER_CORS_WHITELIST=http://localhost:3000
MONGO_URI=mongodb+srv://johnDoe:[email protected]/sample_restaurants?retryWrites=true&w=majority
# MONGO_URI="mongodb://localhost:27017/vulcan-next-app"
# ## Testing
# Replace with your own token, see https://www.chromatic.com
CHROMATIC_PROJECT_TOKEN=
# ## Emails
# Replace with your SMTP server configuration
MAIL_FROM=My App <[email protected]>
SMTP_HOST=
SMTP_PORT=
SMTP_SECURE=