|
|
@@ -41,13 +41,13 @@ const _current = {
|
|
41
|
41
|
/** Glue manifest as a confidence store */
|
|
42
|
42
|
module.exports = new Confidence.Store({
|
|
43
|
43
|
server: {
|
|
44
|
|
- host: _current.host,
|
|
|
44
|
+ host: process.env.API_HOST,
|
|
45
|
45
|
port: {
|
|
46
|
46
|
$filter: 'NODE_ENV',
|
|
47
|
47
|
$default: {
|
|
48
|
48
|
$param: 'API_PORT',
|
|
49
|
49
|
$coerce: 'number',
|
|
50
|
|
- $default: _current.port,
|
|
|
50
|
+ $default: process.env.API_PORT,
|
|
51
|
51
|
},
|
|
52
|
52
|
test: { $value: undefined }, // Let the server find an open port
|
|
53
|
53
|
},
|
|
|
@@ -105,7 +105,14 @@ module.exports = new Confidence.Store({
|
|
105
|
105
|
knex: {
|
|
106
|
106
|
client: confs.dbFlavor,
|
|
107
|
107
|
useNullAsDefault: true,
|
|
108
|
|
- connection: _current,
|
|
|
108
|
+ connection: {
|
|
|
109
|
+ database: _current.database,
|
|
|
110
|
+ host: _current.host,
|
|
|
111
|
+ port: _current.port,
|
|
|
112
|
+ ssl: _current.ssl,
|
|
|
113
|
+ user: _current.user,
|
|
|
114
|
+ password: _current.password,
|
|
|
115
|
+ },
|
|
109
|
116
|
},
|
|
110
|
117
|
},
|
|
111
|
118
|
production: {
|