2016-11-07 12:43:38 +01:00
|
|
|
var secure = {
|
2016-11-08 12:34:17 +01:00
|
|
|
vr_pong: {
|
2017-01-24 10:15:40 +01:00
|
|
|
port: 3101,
|
2016-11-08 12:34:17 +01:00
|
|
|
debugPort: 3201
|
2016-11-07 12:43:38 +01:00
|
|
|
},
|
2016-11-08 12:34:17 +01:00
|
|
|
vr_racer: {
|
|
|
|
port: 3102,
|
|
|
|
debugPort: 3202
|
2016-11-07 12:43:38 +01:00
|
|
|
},
|
2016-11-08 12:34:17 +01:00
|
|
|
editor: {
|
|
|
|
port: 3103,
|
|
|
|
debugPort: 3203,
|
|
|
|
cluster: false
|
|
|
|
},
|
|
|
|
api16: {
|
|
|
|
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'
|
2017-01-13 13:47:53 +01:00
|
|
|
},
|
2017-01-24 17:44:43 +01:00
|
|
|
tools: {
|
|
|
|
port: 3109,
|
|
|
|
debugPort: 3209,
|
|
|
|
liveReloadPort: 3409,
|
2016-11-08 12:34:17 +01:00
|
|
|
mysqlUserExport: {
|
2016-11-08 18:30:09 +01:00
|
|
|
host: "127.0.0.1",
|
2016-11-08 12:34:17 +01:00
|
|
|
port: 3306,
|
|
|
|
user: "root",
|
2016-11-08 18:30:09 +01:00
|
|
|
password: "",
|
2016-11-08 12:34:17 +01:00
|
|
|
database: "gw_core"
|
|
|
|
},
|
|
|
|
mongoUserImport: {
|
|
|
|
host: "127.0.0.1",
|
|
|
|
port: 27017,
|
|
|
|
options: {
|
|
|
|
user: '',
|
|
|
|
pass: ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
app: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3110,
|
|
|
|
debugPort: 3210,
|
|
|
|
liveReloadPort: 3410
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
api: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3111,
|
|
|
|
debugPort: 3211,
|
|
|
|
liveReloadPort: 3411,
|
2016-11-11 18:29:57 +01:00
|
|
|
mongodb: {
|
|
|
|
host: 'mongodb://127.0.0.1',
|
2017-03-28 13:31:11 +02:00
|
|
|
db: 'releaseTJ',
|
2016-11-11 18:29:57 +01:00
|
|
|
port: 27017,
|
|
|
|
shardPort: 27018,
|
|
|
|
options: {
|
|
|
|
db: {
|
|
|
|
native_parser: true
|
|
|
|
},
|
|
|
|
server: {
|
|
|
|
poolSize: 5,
|
|
|
|
keepAlive: 120
|
|
|
|
},
|
|
|
|
user: '',
|
|
|
|
pass: '',
|
|
|
|
autoIndex: false
|
|
|
|
}
|
|
|
|
},
|
2016-12-01 11:55:37 +01:00
|
|
|
uploadPath : 'uploads',
|
|
|
|
// mailer: {
|
|
|
|
// host: "smtp.office365.com",
|
|
|
|
// port: 587,
|
|
|
|
// auth: {
|
|
|
|
// user: "admin@gamewheel.com",
|
|
|
|
// pass: "Toypro42!"
|
|
|
|
// },
|
|
|
|
// secureConnection: false,
|
|
|
|
// tls: {
|
|
|
|
// ciphers: "SSLv3",
|
|
|
|
// rejectUnauthorized: false
|
|
|
|
// },
|
|
|
|
// emails: {
|
|
|
|
// founder: "evgeni@gamewheel.com",
|
|
|
|
// support: "support@gamewheel.com"
|
|
|
|
// }
|
|
|
|
// },
|
2016-11-11 18:29:57 +01:00
|
|
|
mailer: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 9025,
|
|
|
|
secure: false,
|
|
|
|
debug: true,
|
|
|
|
ignoreTLS: true
|
|
|
|
},
|
|
|
|
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
port: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3114,
|
|
|
|
debugPort: 3214
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
gate: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3115,
|
|
|
|
debugPort: 3215
|
2017-03-30 17:32:42 +02:00
|
|
|
},
|
|
|
|
cron: {
|
|
|
|
port: 3116,
|
2017-04-03 14:49:10 +02:00
|
|
|
debugPort: 3216,
|
|
|
|
apiUser : 'tj@gamewheel.com',
|
|
|
|
apiPassword : 'test12345'
|
2016-11-07 12:43:38 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (typeof module !== 'undefined') {
|
|
|
|
module.exports = secure;
|
|
|
|
}
|
|
|
|
|