2016-11-07 12:43:38 +01:00
|
|
|
var secure = {
|
2016-11-08 12:34:17 +01:00
|
|
|
vr_pong: {
|
|
|
|
url: "http://pong.gamewheel.local",
|
|
|
|
port: 3101,
|
|
|
|
debugPort: 3201
|
2016-11-07 12:43:38 +01:00
|
|
|
},
|
2016-11-08 12:34:17 +01:00
|
|
|
vr_racer: {
|
|
|
|
url: "http://racer.gamewheel.local",
|
|
|
|
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'
|
|
|
|
},
|
|
|
|
tools: {
|
|
|
|
port: 3105,
|
|
|
|
debugPort: 3205,
|
|
|
|
mysqlUserExport: {
|
|
|
|
host: "gwdb.cpuanrat3vd1.eu-central-1.rds.amazonaws.com",
|
|
|
|
port: 3306,
|
|
|
|
user: "root",
|
|
|
|
password: "5t0bURlq",
|
|
|
|
database: "gw_core"
|
|
|
|
},
|
|
|
|
mongoUserImport: {
|
|
|
|
host: "127.0.0.1",
|
|
|
|
port: 27017,
|
|
|
|
options: {
|
|
|
|
user: '',
|
|
|
|
pass: ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
app: {
|
|
|
|
port: 3106,
|
|
|
|
debugPort: 3206
|
|
|
|
},
|
|
|
|
api: {
|
|
|
|
port: 3107,
|
|
|
|
debugPort: 3207
|
|
|
|
},
|
|
|
|
old_api_runtime: {
|
|
|
|
port: 3108,
|
|
|
|
debugPort: 3208
|
|
|
|
},
|
|
|
|
statistics: {
|
|
|
|
port: 3109,
|
2016-11-08 13:22:18 +01:00
|
|
|
debugPort: 3209,
|
|
|
|
mongodb : {
|
|
|
|
host : 'mongodb://172.31.12.120',
|
|
|
|
db : 'statistic'
|
|
|
|
}
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
port: {
|
|
|
|
port: 3110,
|
|
|
|
debugPort: 3210
|
|
|
|
},
|
|
|
|
gate: {
|
|
|
|
port: 3111,
|
|
|
|
debugPort: 3211
|
2016-11-07 12:43:38 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (typeof module !== 'undefined') {
|
|
|
|
module.exports = secure;
|
|
|
|
}
|
|
|
|
|