Skip to content

Commit

Permalink
Merge pull request #13 from jonatasperaza/master
Browse files Browse the repository at this point in the history
Update database configuration
  • Loading branch information
jonatasperaza authored Sep 12, 2024
2 parents 32712a9 + 839ccde commit 5c7ceb6
Show file tree
Hide file tree
Showing 12 changed files with 1,606 additions and 234 deletions.
8 changes: 7 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
DATABASE_URL="postgres://postgres:6eeeff36695c258f3885306f27f95475@dokku-postgres-porta01:5432/porta01"
DATABASE_URL="postgres://jonatasperaza:[email protected]:5432/authDoor"

PGHOST=ep-old-band-a5flm12z.us-east-2.aws.neon.tech
PGDATABASE=authDoor
PGUSER=jonatasperaza
PGPASSWORD=ZoNaFvqm78Qy
ENDPOINT_ID=ep-old-band-a5flm12z
24 changes: 22 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions ormconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "postgres",
"host": "dokku-postgres-porta01",
"port": 5432,
"username": "postgres",
"password": "6eeeff36695c258f3885306f27f95475",
"database": "porta01",
"synchronize": true,
"logging": false,
"entities": ["src/entity/**/*.ts"]
}
Loading

0 comments on commit 5c7ceb6

Please sign in to comment.