-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.js
More file actions
33 lines (33 loc) · 827 Bytes
/
default.js
File metadata and controls
33 lines (33 loc) · 827 Bytes
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
module.exports = {
env: 'development',
universalPath: require('./universal_path'),
server: {
name: 'transformap',
scheme: 'http',
host: '127.0.0.1',
port: 5000,
url: function () {
return `${this.scheme}://${this.host}:${this.port}`
}
},
store: {
scheme: 'http',
host: '127.0.0.1',
port: 5984,
username: 'transformap',
password: '',
// May be a code smell due to @maxlath, also above, as ENV config changes could overwrite
url: function () {
return `${this.scheme}://${this.username}:${this.password}@${this.host}:${this.port}`
}
},
blobStore: {
transport: 'ip4',
address: '127.0.0.1',
protocol: 'tcp',
port: 5001,
multiaddr: function () {
return `/${this.transport}/${this.addr}/${this.proto}/${this.port}`
}
}
}