We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f40b623 commit 0e1283bCopy full SHA for 0e1283b
.env
@@ -0,0 +1,7 @@
1
+AUTH0_SECRET=<secret_key>
2
+
3
+DB_HOST=db
4
+DB_PORT=5432
5
+DB_USER=postgres
6
+DB_PASS=<password>
7
+DB_NAME=map_egypt
knexfile.js
@@ -13,7 +13,14 @@ module.exports = {
13
},
14
development: {
15
client: 'pg',
16
- connection: process.env.DATABASE_URL,
+ //connection: process.env.DATABASE_URL,
17
+ connection: {
18
+ host: process.env.DB_HOST,
19
+ user: process.env.DB_USER,
20
+ port: process.env.DB_PORT,
21
+ password: process.env.DB_PASS,
22
+ database: process.env.DB_NAME
23
+ },
24
migrations: {
25
tableName: 'migrations'
26
0 commit comments