Skip to content

Commit 806038b

Browse files
committed
feat(config): Configuration for Heroku
1 parent b4150c3 commit 806038b

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

config/production.js

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,30 @@ function reportingFactory(path, options) {
1313
}
1414

1515
module.exports = {
16+
server: {
17+
cache: {
18+
name: 'redisCache',
19+
engine: 'catbox-redis',
20+
host: process.env.REDIS_URL,
21+
database: 0,
22+
partition: 'lvc-cache',
23+
},
24+
},
1625
host: {
1726
hostname: 'lvconnect.link-value.fr',
1827
port: 8000,
1928
},
2029
mongodb: {
21-
host: 'localhost',
22-
port: 27017,
23-
database: 'lvconnect?authSource=admin',
24-
username: 'linkvalue-deploy',
25-
password: 'OSbmSJJGBxQau5H5',
30+
host: 'ds145039.mlab.com',
31+
port: 45039,
32+
database: 'heroku_fcp37rmh',
33+
username: 'heroku_fcp37rmh',
34+
password: '4lqc04tkc8n4oogo873im9eo4o',
35+
},
36+
kue: {
37+
host: process.env.REDIS_URL,
38+
db: 0,
39+
prefix: 'lvc-kue',
2640
},
2741
logs: {
2842
reporters: {

0 commit comments

Comments
 (0)