2016-11-07 12:43:38 +01:00
|
|
|
var secure = {
|
2016-11-08 12:34:17 +01:00
|
|
|
vr_pong: {
|
2017-01-23 10:06:46 +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
|
|
|
|
},
|
2017-01-13 13:47:53 +01:00
|
|
|
pong_editor: {
|
|
|
|
port: 3112,
|
|
|
|
debugPort: 3212,
|
|
|
|
cluster: false
|
|
|
|
},
|
2016-11-08 12:34:17 +01:00
|
|
|
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
|
|
|
},
|
|
|
|
api16pong: {
|
|
|
|
port: 3113,
|
|
|
|
debugPort: 3213,
|
|
|
|
cluster: false,
|
|
|
|
cors: false,
|
|
|
|
mailer: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 9025,
|
|
|
|
secure: false,
|
|
|
|
debug: true,
|
|
|
|
ignoreTLS: true
|
|
|
|
},
|
|
|
|
mongodb: {
|
|
|
|
host: 'mongodb://127.0.0.1',
|
|
|
|
db: 'gw_pong',
|
|
|
|
port: 27017,
|
|
|
|
shardPort: 27018,
|
|
|
|
options: {
|
|
|
|
db: {
|
|
|
|
native_parser: true
|
|
|
|
},
|
|
|
|
server: {
|
|
|
|
poolSize: 5,
|
|
|
|
keepAlive: 120
|
|
|
|
},
|
|
|
|
user: '',
|
|
|
|
pass: '',
|
|
|
|
autoIndex: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
tools: {
|
|
|
|
port: 3105,
|
|
|
|
debugPort: 3205,
|
2016-11-08 18:30:09 +01:00
|
|
|
liveReloadPort: 3405,
|
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: {
|
|
|
|
port: 3106,
|
2016-11-08 18:30:09 +01:00
|
|
|
debugPort: 3206,
|
|
|
|
liveReloadPort: 3406
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
api: {
|
|
|
|
port: 3107,
|
2016-11-11 18:29:57 +01:00
|
|
|
debugPort: 3207,
|
|
|
|
liveReloadPort: 3407,
|
|
|
|
mongodb: {
|
|
|
|
host: 'mongodb://127.0.0.1',
|
|
|
|
db: 'apidev',
|
|
|
|
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
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
api_runtime: {
|
2016-11-08 12:34:17 +01:00
|
|
|
port: 3108,
|
2016-11-08 18:30:09 +01:00
|
|
|
debugPort: 3208,
|
|
|
|
liveReloadPort: 3408,
|
|
|
|
cors: true,
|
|
|
|
cluster: false,
|
|
|
|
auth: {
|
|
|
|
secret: "xDKsyQm2F52Y9hfqv7yG80tu1wv90zkH",
|
|
|
|
token_duration: 86400000,
|
|
|
|
api_key: "gw_rocks",
|
|
|
|
admin: {
|
|
|
|
email: "admin@gamewheel.com",
|
|
|
|
password: "gw_config_api_rocks"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
db: {
|
|
|
|
type: "mysql",
|
|
|
|
host: "127.0.0.1",
|
|
|
|
port: 3306,
|
|
|
|
database: "gw_core",
|
|
|
|
user: "root",
|
|
|
|
password: "",
|
|
|
|
max_connections: 10
|
|
|
|
},
|
|
|
|
game_session_timeout: 180000
|
|
|
|
},
|
|
|
|
masker: {
|
|
|
|
auth_key: "gw_masker_rocks"
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
statistics: {
|
|
|
|
port: 3109,
|
2016-11-08 13:22:18 +01:00
|
|
|
debugPort: 3209,
|
2016-11-08 18:30:09 +01:00
|
|
|
liveReloadPort: 3409,
|
|
|
|
mongodb: {
|
|
|
|
host: 'mongodb://127.0.0.1',
|
|
|
|
db: 'statistic'
|
2016-11-08 13:22:18 +01:00
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
|