-
Notifications
You must be signed in to change notification settings - Fork 13
/
config_local.js.SAMPLE_VAGRANT
75 lines (73 loc) · 1.2 KB
/
config_local.js.SAMPLE_VAGRANT
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
'use strict';
/**
* Sample local configuration file - copy to 'config_local.js' to "activate".
* The preset values here are tailored to the Vagrant development VM.
*/
module.exports = {
net: {
gameServers: {
gs01: {
host: '192.168.23.23',
ports: [
1443,
1444,
],
},
},
assetServer: {
host: '192.168.23.23',
port: 8000,
},
rpc: {
// moved to 6000 because Graphite's carbon daemon is sitting on 7002
basePort: 6000,
},
},
pers: {
backEnd: {
module: 'rethink',
config: {
rethink: {
dbname: 'eleven_dev',
dbtable: 'gamedata',
dbhost: 'localhost',
dbport: 28015,
dbauth: 'test123',
queryOpts: {
durability: 'hard',
noreply: false,
},
},
},
},
},
auth: {
backEnd: {
module: 'hmac',
config: {
hmac: {
// secret used for auth token HMAC calculation (set this
// to a random string):
secret: 'CHANGE-ME-OR-ELSE',
// minimum token lifetime in seconds:
timeStep: 600,
},
},
},
},
log: {
level: {
file: 'debug',
stdout: 'error',
},
includeLoc: true,
},
mon: {
statsd: {
prefix: 'vagrant',
},
},
debug: {
stackTraceLimit: 100,
},
};