forked from virtualcommons/port-of-mars
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix generated vars missing from .env
changed the server/.env generation from envsubst to sed and includes remaining server secrets (DB_PASSWORD which is needed for datasource.ts SECRET_KEY and MAIL_API_KEY which were previously read in from a file) assumes that if .env exists it should not be overwritten. this does mean managing additions to the versioned .env.template manually..
- Loading branch information
Showing
3 changed files
with
26 additions
and
16 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,9 +1,12 @@ | ||
BASE_URL=${POM_BASE_URL} | ||
BASE_URL=base-url | ||
|
||
DB_PASSWORD=${DB_PASSWORD} | ||
DB_PASSWORD=db-password | ||
SECRET_KEY=secret-key | ||
|
||
GOOGLE_CLIENT_ID=changeme | ||
GOOGLE_CLIENT_SECRET=changeme | ||
MAIL_API_KEY=mail-api-key | ||
|
||
FACEBOOK_CLIENT_ID=changeme | ||
FACEBOOK_CLIENT_SECRET=changeme | ||
GOOGLE_CLIENT_ID=google-client-id | ||
GOOGLE_CLIENT_SECRET=google-client-secret | ||
|
||
FACEBOOK_CLIENT_ID=facebook-client-id | ||
FACEBOOK_CLIENT_SECRET=facbook-client-secret |
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