-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cwp-templates): generate JWT_SECRET, S3_BUCKET, and MONGODB_NAME…
… for all environments (#1103)
- Loading branch information
Showing
6 changed files
with
83 additions
and
29 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,8 +1,18 @@ | ||
{ | ||
"default": { | ||
"GRAPHQL_INTROSPECTION": true, | ||
"GRAPHQL_PLAYGROUND": true, | ||
"S3_BUCKET": "[BUCKET]", | ||
"JWT_SECRET": "[JWT_SECRET]" | ||
"GRAPHQL_PLAYGROUND": true | ||
}, | ||
"local": { | ||
"JWT_SECRET": "[JWT_SECRET]", | ||
"S3_BUCKET": "[BUCKET]" | ||
}, | ||
"dev": { | ||
"JWT_SECRET": "[JWT_SECRET]", | ||
"S3_BUCKET": "[BUCKET]" | ||
}, | ||
"prod": { | ||
"JWT_SECRET": "[JWT_SECRET]", | ||
"S3_BUCKET": "[BUCKET]" | ||
} | ||
} |
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,8 +1,18 @@ | ||
{ | ||
"default": { | ||
"AWS_PROFILE": "default", | ||
"AWS_REGION": "us-east-1", | ||
"AWS_REGION": "us-east-1" | ||
}, | ||
"local": { | ||
"MONGODB_SERVER": "[MONGODB_SERVER]", | ||
"MONGODB_NAME": "webiny" | ||
"MONGODB_NAME": "[MONGODB_NAME]" | ||
}, | ||
"dev": { | ||
"MONGODB_SERVER": "[MONGODB_SERVER]", | ||
"MONGODB_NAME": "[MONGODB_NAME]" | ||
}, | ||
"prod": { | ||
"MONGODB_SERVER": "[MONGODB_SERVER]", | ||
"MONGODB_NAME": "[MONGODB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
{ | ||
"default": { | ||
"GRAPHQL_INTROSPECTION": true, | ||
"GRAPHQL_PLAYGROUND": true, | ||
"S3_BUCKET": "[BUCKET]", | ||
"JWT_SECRET": "[JWT_SECRET]" | ||
"GRAPHQL_PLAYGROUND": true | ||
}, | ||
"local": { | ||
"JWT_SECRET": "[JWT_SECRET]", | ||
"S3_BUCKET": "[BUCKET]" | ||
}, | ||
"dev": { | ||
"JWT_SECRET": "[JWT_SECRET]", | ||
"S3_BUCKET": "[BUCKET]" | ||
}, | ||
"prod": { | ||
"JWT_SECRET": "[JWT_SECRET]", | ||
"S3_BUCKET": "[BUCKET]" | ||
} | ||
} |
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,8 +1,18 @@ | ||
{ | ||
"default": { | ||
"AWS_PROFILE": "default", | ||
"AWS_REGION": "us-east-1", | ||
"AWS_REGION": "us-east-1" | ||
}, | ||
"local": { | ||
"MONGODB_SERVER": "[MONGODB_SERVER]", | ||
"MONGODB_NAME": "webiny" | ||
"MONGODB_NAME": "[MONGODB_NAME]" | ||
}, | ||
"dev": { | ||
"MONGODB_SERVER": "[MONGODB_SERVER]", | ||
"MONGODB_NAME": "[MONGODB_NAME]" | ||
}, | ||
"prod": { | ||
"MONGODB_SERVER": "[MONGODB_SERVER]", | ||
"MONGODB_NAME": "[MONGODB_NAME]" | ||
} | ||
} |