Skip to content

Commit

Permalink
Add env variables to db config file
Browse files Browse the repository at this point in the history
  • Loading branch information
anantakrroy committed Mar 30, 2021
1 parent 2c09b5f commit 92f7697
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions database.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"dev": {
"driver": "pg",
"host": "127.0.0.1",
"database": "shopping",
"user": "shopping_user",
"password": "password123"
"database": {"ENV": "PG_DB"},
"user": {"ENV": "PG_USER"},
"password": {"ENV": "PG_PWD"}
},
"test": {
"driver": "pg",
"host": "127.0.0.1",
"database": "shopping_test",
"user": "shopping_user",
"password": "password123"
"database": {"ENV": "PG_DB_TEST"},
"user": {"ENV": "PG_USER"},
"password": {"ENV": "PG_PWD"}
}
}

0 comments on commit 92f7697

Please sign in to comment.