-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eba4f78
commit 2069416
Showing
5 changed files
with
79 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,50 @@ | ||
# 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" | ||
# DO NOT EDIT .env.development! (except during development) | ||
# COPY ME in ".env.development.local" beforehand | ||
|
||
NEXT_PUBLIC_GRAPHQL_URI="http://localhost:3000/api/graphql" | ||
# ## App setup | ||
|
||
# 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 | ||
# Setup in production with your final main URL | ||
# With port and protocol: https://origin:port | ||
APP_URL= | ||
|
||
APOLLO_SERVER_CORS_WHITELIST="http://localhost:3000" | ||
|
||
# ## 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" | ||
|
||
ADMIN_EMAIL="you.need.to.change.this.value@vulcanjs.com" | ||
# 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:T74OcxqL15TRt7Zn@lbke-demo-ara2d.mongodb.net/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 <myapp@changethisname.whatever>", | ||
SMTP_HOST= | ||
SMTP_PORT= | ||
SMTP_SECURE= | ||
|
||
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 | ||
SMTP_SECURE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters