forked from creativetechnologylab/checkout
-
Notifications
You must be signed in to change notification settings - Fork 2
/
knexfile.js
39 lines (35 loc) · 899 Bytes
/
knexfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Update with your config settings.
require('dotenv-safe').config({allowEmptyValues: true});
module.exports = {
development: {
client: 'postgresql',
connection: {
host: process.env.POSTGRES_HOST,
port: process.env.POSTGRES_PORT,
database: process.env.POSTGRES_DB,
user: process.env.POSTGRES_USER,
password: process.env.POSTGRES_PASSWORD
},
},
staging: {
client: 'postgresql',
connection: {
host: process.env.POSTGRES_HOST,
port: process.env.POSTGRES_PORT,
database: process.env.POSTGRES_DB,
user: process.env.POSTGRES_USER,
password: process.env.POSTGRES_PASSWORD
}
},
production: {
client: 'postgresql',
connection: {
host: process.env.POSTGRES_HOST,
port: process.env.POSTGRES_PORT,
database: process.env.POSTGRES_DB,
user: process.env.POSTGRES_USER,
password: process.env.POSTGRES_PASSWORD
},
pool: {min: 1, max: 7}
}
}