-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "refine: change the way different environments are handled"
This reverts commit fb768af.
- Loading branch information
1 parent
4693451
commit c290bb8
Showing
9 changed files
with
42 additions
and
46 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 |
---|---|---|
|
@@ -4,6 +4,6 @@ | |
!src | ||
!public | ||
# and files | ||
!.env | ||
!.env.prod | ||
!*.json | ||
!yarn.lock |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# env file for when running the app inside inside docker | ||
|
||
POSTGRES_HOST = localhost | ||
POSTGRES_PORT = database port | ||
POSTGRES_USER = user | ||
POSTGRES_PASSWORD = password | ||
POSTGRES_DB = database | ||
|
||
PORT = 5000 | ||
|
||
JWT_SECRET = secret | ||
BCRYPT_ROUNDS = number of rounds | ||
|
||
TYPEORM_CONNECTION = postgres | ||
TYPEORM_HOST = db | ||
TYPEORM_PORT = database port (same as POSTGRES_PORT) | ||
TYPEORM_USERNAME = user (same as POSTGRES_USER) | ||
TYPEORM_PASSWORD = password (same as POSTGRES_PASSWORD) | ||
TYPEORM_DATABASE = database (same as POSTGRES_DB) | ||
TYPEORM_ENTITIES = dist/**/**.entity.js | ||
TYPEORM_MIGRATIONS = dist/migrations/*.js | ||
TYPEORM_ENTITIES_DIR = dist/entities | ||
TYPEORM_MIGRATIONS_DIR = dist/migrations |
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