-
Notifications
You must be signed in to change notification settings - Fork 21
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
Showing
10 changed files
with
92 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
PRISMA_CONNECTION_LIMIT=15 | ||
CREATE_AURORA_DATABASE=true | ||
|
||
# for local dev environments which use docker-compose, you can disable running migrations in AWS by setting this to false | ||
# if you want to automatically run DB migrations on deployed environments | ||
# (does not apply to local dev) | ||
RUN_DB_MIGRATIONS=true | ||
|
||
# set this for non-local-dev stages to your web URL | ||
# WEB_DOMAIN= | ||
# e.g. WEB_DOMAIN=d3s9sdc942lbai.cloudfront.net | ||
|
||
# set this to enable a bastion EC2 host you can tunnel through to connect to the database | ||
# create a keypair in your desired account and region and add the name here | ||
# SSH_KEYPAIR_NAME= | ||
|
||
# set this for non-local-dev stages to your web URL | ||
# WEB_URL= |
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,3 +1,5 @@ | ||
IS_PRODUCTION=true | ||
|
||
# WEB_URL=https://mysite.com | ||
# assumes you have a hosted zone set up in Route53 | ||
# HOSTED_ZONE=mysite.com | ||
# WEB_DOMAIN=mysite.com |
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,3 +1,4 @@ | ||
export const IS_PRODUCTION = process.env.IS_PRODUCTION === 'true'; | ||
export const RUN_DB_MIGRATIONS = process.env.RUN_DB_MIGRATIONS === 'true'; | ||
export const WEB_URL = process.env.WEB_URL; | ||
export const IS_PRODUCTION = process.env.IS_PRODUCTION === 'true' | ||
export const RUN_DB_MIGRATIONS = process.env.RUN_DB_MIGRATIONS === 'true' | ||
export const WEB_DOMAIN = process.env.WEB_DOMAIN | ||
export const HOSTED_ZONE_NAME = process.env.HOSTED_ZONE_NAME |
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
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,7 +1,6 @@ | ||
// public - available for frontend | ||
export const REGION = process.env['NEXT_PUBLIC_REGION']; | ||
export const APPSYNC_ENDPOINT = process.env['NEXT_PUBLIC_APPSYNC_ENDPOINT']; | ||
export const COGNITO_CLIENT_ID = process.env['NEXT_PUBLIC_COGNITO_CLIENT_ID']; | ||
export const COGNITO_USER_POOL_ID = process.env['NEXT_PUBLIC_COGNITO_USER_POOL_ID']; | ||
export const COGNITO_DOMAIN_NAME = process.env['NEXT_PUBLIC_COGNITO_DOMAIN_NAME']; | ||
export const COGNITO_CLIENT_SECRET = process.env['NEXT_PUBLIC_COGNITO_CLIENT_SECRET']; | ||
export const REGION = process.env['NEXT_PUBLIC_REGION'] | ||
export const APPSYNC_ENDPOINT = process.env['NEXT_PUBLIC_APPSYNC_ENDPOINT'] | ||
export const COGNITO_CLIENT_ID = process.env['NEXT_PUBLIC_COGNITO_CLIENT_ID'] | ||
export const COGNITO_USER_POOL_ID = process.env['NEXT_PUBLIC_COGNITO_USER_POOL_ID'] | ||
export const COGNITO_DOMAIN_NAME = process.env['NEXT_PUBLIC_COGNITO_DOMAIN_NAME'] |
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