-
Notifications
You must be signed in to change notification settings - Fork 3
[NextJS] Local docker setup #1538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,12 @@ | ||
| NODE_ENV=development | ||
| PORT=8062 | ||
| MITOL_AXIOS_WITH_CREDENTIALS=true | ||
| SENTRY_ENV=dev | ||
| SENTRY_ENV=dev # Re-enable sentry | ||
|
|
||
| # Environment variables with `NEXT_PUBLIC_` prefix are exposed to the client side | ||
| NEXT_PUBLIC_ORIGIN=${MITOL_APP_BASE_URL} | ||
| NEXT_PUBLIC_MITOL_API_BASE_URL=${MITOL_API_BASE_URL} | ||
| NEXT_PUBLIC_CSRF_COOKIE_NAME=${CSRF_COOKIE_NAME} | ||
| NEXT_PUBLIC_MITOL_SUPPORT_EMAIL=${MITOL_SUPPORT_EMAIL} | ||
|
|
||
| NEXT_PUBLIC_SITE_NAME="MIT Learn" | ||
| NEXT_PUBLIC_MITOL_AXIOS_WITH_CREDENTIALS=true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| NEXT_PUBLIC_EMBEDLY_KEY="" |
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jonkafton Opinion: We shouldn't use a I know NextJS will use a
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, agree - all of these ended up being public, so can live in the committed env files. |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll hopefully end up addressing the API from within a local network (so the server isn't making API requests over the internet), though for now this holds true