r3-config/config.js

85 lines
1.9 KiB
JavaScript

var config = {
vr_pong: {
url: "http://pong.gamewheel.local",
port: 3101,
debugPort: 3201
},
vr_racer: {
url: "http://racer.gamewheel.local",
port: 3102,
debugPort: 3202
},
editor: {
url: "http://3d-editor.gamewheel.local",
port: 3103,
debugPort: 3203,
cluster: false,
default: {
platform: 'gamewheel',
account: 'root',
subAccount: 'root'
},
uploadPath: '/uploads'
},
api16: {
url: "http://api.gamewheel.local",
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: {
url: "http://tools.gamewheel.local",
port: 3105,
debugPort: 3205,
mysqlUserExport: {
host: "gwdb.cpuanrat3vd1.eu-central-1.rds.amazonaws.com",
port: 3306,
user: "root",
password: "5t0bURlq"
},
mongoUserImport: {
host: "127.0.0.1",
port: 27017,
options: {
user: '',
pass: ''
}
}
},
environment: {
mode: 'development'
}
};
if (typeof module !== 'undefined') {
module.exports = config;
}