r3-config/config.js

60 lines
1.3 KiB
JavaScript
Raw Normal View History

2016-09-22 16:29:22 +02:00
var config = {
2016-09-27 11:05:32 +02:00
vr_pong: {
2016-09-27 11:12:32 +02:00
url: "http://pong.gamewheel.local",
2016-09-26 16:15:21 +02:00
port: 3101,
debugPort: 3201
2016-09-22 16:29:22 +02:00
},
2016-09-27 11:05:32 +02:00
vr_racer: {
2016-09-27 11:12:32 +02:00
url: "http://racer.gamewheel.local",
2016-09-22 16:29:22 +02:00
port: 3102,
2016-09-26 16:15:21 +02:00
debugPort: 3202
2016-09-22 16:29:22 +02:00
},
2016-09-27 11:05:32 +02:00
editor: {
2016-09-27 11:12:32 +02:00
url: "http://3d-editor.gamewheel.local",
2016-09-22 16:29:22 +02:00
port: 3103,
2016-09-26 16:15:21 +02:00
debugPort: 3203,
2016-09-22 16:29:22 +02:00
cluster: false
2016-09-26 16:15:21 +02:00
},
2016-09-27 11:05:32 +02:00
api16: {
2016-09-27 11:12:32 +02:00
url: "http://api.gamewheel.local",
2016-09-26 16:15:21 +02:00
port: 3104,
2016-09-27 11:05:32 +02:00
debugPort: 3204,
2016-09-27 11:27:00 +02:00
cluster: false,
cors: false,
2016-09-27 11:05:32 +02:00
mailer: {
host: 'localhost',
port: 9025,
secure: false,
debug: true,
ignoreTLS: true
},
mongodb: {
host: 'mongodb://127.0.0.1',
db: 'gamewheel',
2016-09-27 11:12:32 +02:00
port: 27017,
shardPort: 27018,
2016-09-27 11:05:32 +02:00
options: {
db: {
native_parser: true
},
server: {
poolSize: 5,
keepAlive: 120
},
user: '',
pass: '',
autoIndex: false
}
},
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
},
environment: {
mode : 'development'
2016-09-22 16:29:22 +02:00
}
2016-04-26 18:10:25 +02:00
};
2016-04-26 18:52:58 +02:00
if (typeof module !== 'undefined') {
2016-09-22 16:29:22 +02:00
module.exports = config;
2016-04-26 18:52:58 +02:00
}