r3-config/secure.js

181 lines
4.4 KiB
JavaScript

var secure = {
vr_pong: {
port: 3101,
debugPort: 3201
},
vr_racer: {
port: 3102,
debugPort: 3202
},
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
},
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
},
tools: {
port: 3109,
debugPort: 3209,
liveReloadPort: 3409,
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: 3110,
debugPort: 3210,
liveReloadPort: 3410
},
api: {
port: 3111,
debugPort: 3211,
liveReloadPort: 3411,
uploadPath : 'uploads',
// mailer: {
// host: "smtp.office365.com",
// port: 587,
// auth: {
// user: "admin@cybafelo.com",
// pass: "Toypro42!"
// },
// secureConnection: false,
// tls: {
// ciphers: "SSLv3",
// rejectUnauthorized: false
// },
// emails: {
// founder: "evgeni@cybafelo.com",
// support: "support@cybafelo.com"
// }
// },
mailer: {
host: 'localhost',
port: 25,
secure: false,
debug: true,
ignoreTLS: true
},
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
},
port: {
port: 3114,
debugPort: 3214
},
gate: {
port: 3115,
debugPort: 3215
},
cron: {
port: 3116,
debugPort: 3216,
apiUser : 'tj@cybafelo.com',
apiPassword : 'test12345'
},
db : {
mongo : {
analytics : {
host: 'mongodb://127.0.0.1',
db: 'analyticsDev',
port: 27017,
shardPort: 27018,
options: {
db: {
native_parser: true
},
server: {
poolSize: 5,
keepAlive: 120
},
user: '',
pass: '',
autoIndex: false
}
},
statistics : {
host: 'mongodb://127.0.0.1',
db: 'statistic'
},
general : {
host: 'mongodb://127.0.0.1',
db: 'releaseTJ',
port: 27017,
shardPort: 27018,
options: {
db: {
native_parser: true
},
server: {
poolSize: 5,
keepAlive: 120
},
user: '',
pass: '',
autoIndex: false
}
},
original : {
host: 'mongodb://127.0.0.1',
db: 'cybafelo',
port: 27017,
shardPort: 27018,
options: {
db: {
native_parser: true
},
server: {
poolSize: 5,
keepAlive: 120
},
user: '',
pass: '',
autoIndex: false
}
}
},
mysql : {
statistics : {
host : '127.0.0.1',
user : 'root',
password : '',
database : 'gw_core'
}
},
memcached : {
statistics : {
host : '127.0.0.1',
port : 11211
}
}
}
};
if (typeof module !== 'undefined') {
module.exports = secure;
}