r3-config/secure.js

210 lines
4.8 KiB
JavaScript

var secure = {
vr_pong: {
port: 3101,
debugPort: 3201
},
vr_racer: {
port: 3102,
debugPort: 3202
},
editor: {
port: 3103,
debugPort: 3203,
cluster: false
},
pong_editor: {
port: 3112,
debugPort: 3212,
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'
},
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'
},
tools: {
port: 3105,
debugPort: 3205,
liveReloadPort: 3405,
mysqlUserExport: {
host: "127.0.0.1",
port: 3306,
user: "root",
password: "",
database: "gw_core"
},
mongoUserImport: {
host: "127.0.0.1",
port: 27017,
options: {
user: '',
pass: ''
}
}
},
app: {
port: 3106,
debugPort: 3206,
liveReloadPort: 3406
},
api: {
port: 3107,
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
}
},
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"
// }
// },
mailer: {
host: 'localhost',
port: 9025,
secure: false,
debug: true,
ignoreTLS: true
},
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
},
api_runtime: {
port: 3108,
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"
},
statistics: {
port: 3109,
debugPort: 3209,
liveReloadPort: 3409,
mongodb: {
host: 'mongodb://127.0.0.1',
db: 'statistic'
}
},
port: {
port: 3110,
debugPort: 3210
},
gate: {
port: 3111,
debugPort: 3211
}
};
if (typeof module !== 'undefined') {
module.exports = secure;
}