60 lines
1.3 KiB
JavaScript
60 lines
1.3 KiB
JavaScript
var config = {
|
|
vr_pong: {
|
|
url: "http://pong.gamewheel.local",
|
|
port: 3101,
|
|
debugPort: 3201
|
|
},
|
|
vr_racer: {
|
|
url: "http://racer.gamewheel.local",
|
|
port: 3102,
|
|
debugPort: 3202
|
|
},
|
|
editor: {
|
|
url: "http://3d-editor.gamewheel.local",
|
|
port: 3103,
|
|
debugPort: 3203,
|
|
cluster: false
|
|
},
|
|
api16: {
|
|
url: "http://api.gamewheel.local",
|
|
port: 3104,
|
|
debugPort: 3204,
|
|
cluster: false,
|
|
cors: false,
|
|
mailer: {
|
|
host: 'localhost',
|
|
port: 9025,
|
|
secure: false,
|
|
debug: true,
|
|
ignoreTLS: true
|
|
},
|
|
mongodb: {
|
|
host: 'mongodb://127.0.0.1',
|
|
db: 'gamewheel',
|
|
port: 27017,
|
|
shardPort: 27018,
|
|
options: {
|
|
db: {
|
|
native_parser: true
|
|
},
|
|
server: {
|
|
poolSize: 5,
|
|
keepAlive: 120
|
|
},
|
|
user: '',
|
|
pass: '',
|
|
autoIndex: false
|
|
}
|
|
},
|
|
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
|
|
},
|
|
environment: {
|
|
mode : 'development'
|
|
}
|
|
};
|
|
|
|
if (typeof module !== 'undefined') {
|
|
module.exports = config;
|
|
}
|
|
|