-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.js.sample
30 lines (29 loc) · 990 Bytes
/
config.js.sample
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
/* This file is a config, that exposes various
meaningful values to the rest of the application.
This is done using the module.exports function,
which sets them when require('./thisfile') is run. */
module.exports = {
service: {
name: process.env.SHIPRIGHT_SERVICE_NAME || 'shipright'
}
, http: {
port: process.env.SHIPRIGHT_HTTP_PORT || 9200,
host: process.env.SHIPRIGHT_HTTP_HOST || 'localhost'
}
, callbackURL: 'http://yourapp.com:9200' // set this to the public address of your app
, cookieSecret: 'this can be any random string, you can even use this one. :)'
, databaseName: 'shipright'
, git: {
data: {
path: 'data' // can, and should, be a resilient fs
}
, ssh: {
user: process.env.SHIPRIGHT_SSH_USER || 'git'
, keyPath: process.env.SHIPRIGHT_KEY_PATH || process.env.HOME + '/.ssh/authorized_keys'
}
}
, redis: {
host: 'localhost',
port: 6379
}
};