Skip to content

Commit

Permalink
Set reasonable defaults in the base
Browse files Browse the repository at this point in the history
Storage engine defaults to s3, unless overridden
  • Loading branch information
olafveerman committed May 1, 2018
1 parent b52ac78 commit 357e5c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict';

// Empty template as base.
var config = require('./config/base');

Expand Down
6 changes: 3 additions & 3 deletions app/config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module.exports = {
osmP2PDir: null,
storage: {
host: null,
port: 9000,
engine: null,
port: null,
engine: 's3',
accessKey: null,
secretKey: null,
bucket: null,
Expand All @@ -23,7 +23,7 @@ module.exports = {
container: 'wbtransport/rra-analysis:latest-stable',
db: null,
storageHost: null,
storagePort: 9000
storagePort: null
},
vtProcess: {
service: null,
Expand Down

0 comments on commit 357e5c7

Please sign in to comment.