-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mongo): mongo connection added (#2)
- Loading branch information
1 parent
39e28f6
commit f133b05
Showing
32 changed files
with
2,613 additions
and
91 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
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,4 +1,4 @@ | ||
{ | ||
"pattern": "^(main|develop){1}$|^(feat|fix)\/.+$", | ||
"pattern": "^(feat|fix)\/.+$", | ||
"errorMsg": "Your branch name doesn't respect the established convention. Please respect the following format : (feat|fix)/[FEATURE_NAME]\nYou can change the name of your branch with the command `git branch -m NEW_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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: "3.8" | ||
services: | ||
mongo: | ||
container_name: "mongo-dev" | ||
image: mongo:latest | ||
environment: | ||
MONGO_INITDB_ROOT_USERNAME: dev | ||
MONGO_INITDB_ROOT_PASSWORD: speed_burger_is_the_best | ||
ports: | ||
- "27019:27017" | ||
volumes: | ||
- mongodb_data_container:/data/db | ||
|
||
volumes: | ||
mongodb_data_container: |
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,16 @@ | ||
version: "3.8" | ||
services: | ||
mongo: | ||
container_name: "mongo-test" | ||
image: mongo:latest | ||
environment: | ||
MONGO_INITDB_ROOT_USERNAME: test | ||
MONGO_INITDB_ROOT_PASSWORD: speed_burger_is_the_best | ||
MONGO_INITDB_DATABASE: werewolves-assistant | ||
ports: | ||
- "27018:27017" | ||
volumes: | ||
- mongodb_data_container:/data/db | ||
|
||
volumes: | ||
mongodb_data_container: |
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,6 @@ | ||
ENVIRONMENT=development | ||
DATABASE_HOST=localhost | ||
DATABASE_PORT=27019 | ||
DATABASE_NAME=werewolves-assistant | ||
DATABASE_USERNAME=dev | ||
DATABASE_PASSWORD=speed_burger_is_the_best |
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,6 @@ | ||
ENVIRONMENT=development|production|test | ||
DATABASE_HOST=locahost | ||
DATABASE_PORT=port | ||
DATABASE_NAME=name | ||
DATABASE_USERNAME=username | ||
DATABASE_PASSWORD=password |
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,6 @@ | ||
ENVIRONMENT=test | ||
DATABASE_HOST=127.0.0.1 | ||
DATABASE_PORT=27018 | ||
DATABASE_NAME=werewolves-assistant | ||
DATABASE_USERNAME=test | ||
DATABASE_PASSWORD=speed_burger_is_the_best |
Oops, something went wrong.