2016-11-07 12:43:38 +01:00
|
|
|
var secure = {
|
2016-11-08 12:34:17 +01:00
|
|
|
vr_pong: {
|
2017-01-24 10:15:40 +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
|
|
|
|
},
|
|
|
|
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',
|
2017-02-09 00:50:43 +01:00
|
|
|
db: 'cybafelo',
|
2016-11-08 12:34:17 +01:00
|
|
|
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
|
|
|
},
|
2017-01-24 12:55:37 +01:00
|
|
|
editor_v2: {
|
|
|
|
port: 3105,
|
|
|
|
debugPort: 3205,
|
|
|
|
cluster: false
|
|
|
|
},
|
|
|
|
api_v2: {
|
|
|
|
port: 3106,
|
|
|
|
debugPort: 3206,
|
|
|
|
liveReloadPort: 3406,
|
2017-01-13 13:47:53 +01:00
|
|
|
mongodb: {
|
|
|
|
host: 'mongodb://127.0.0.1',
|
2017-01-24 12:55:37 +01:00
|
|
|
db: 'api_v2',
|
2017-01-13 13:47:53 +01:00
|
|
|
port: 27017,
|
|
|
|
shardPort: 27018,
|
|
|
|
options: {
|
|
|
|
db: {
|
|
|
|
native_parser: true
|
|
|
|
},
|
|
|
|
server: {
|
|
|
|
poolSize: 5,
|
|
|
|
keepAlive: 120
|
|
|
|
},
|
|
|
|
user: '',
|
|
|
|
pass: '',
|
|
|
|
autoIndex: false
|
|
|
|
}
|
|
|
|
},
|
2017-01-24 12:55:37 +01:00
|
|
|
mailer: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 9025,
|
|
|
|
secure: false,
|
|
|
|
debug: true,
|
|
|
|
ignoreTLS: true
|
|
|
|
},
|
2017-01-13 13:47:53 +01:00
|
|
|
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2017-01-24 17:44:43 +01:00
|
|
|
editor_v3: {
|
2017-01-24 12:55:37 +01:00
|
|
|
port: 3107,
|
|
|
|
debugPort: 3207,
|
2017-01-24 17:44:43 +01:00
|
|
|
cluster: false
|
|
|
|
},
|
|
|
|
api_v3: {
|
|
|
|
port: 3108,
|
|
|
|
debugPort: 3208,
|
|
|
|
liveReloadPort: 3408,
|
|
|
|
mongodb: {
|
|
|
|
host: 'mongodb://127.0.0.1',
|
|
|
|
db: 'api_v3',
|
|
|
|
port: 27017,
|
|
|
|
shardPort: 27018,
|
|
|
|
options: {
|
|
|
|
db: {
|
|
|
|
native_parser: true
|
|
|
|
},
|
|
|
|
server: {
|
|
|
|
poolSize: 5,
|
|
|
|
keepAlive: 120
|
|
|
|
},
|
|
|
|
user: '',
|
|
|
|
pass: '',
|
|
|
|
autoIndex: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
uploadPath : 'uploads',
|
|
|
|
mailer: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 9025,
|
|
|
|
secure: false,
|
|
|
|
debug: true,
|
|
|
|
ignoreTLS: true
|
|
|
|
},
|
|
|
|
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
|
|
|
|
},
|
|
|
|
tools: {
|
|
|
|
port: 3109,
|
|
|
|
debugPort: 3209,
|
|
|
|
liveReloadPort: 3409,
|
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: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3110,
|
|
|
|
debugPort: 3210,
|
|
|
|
liveReloadPort: 3410
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
api: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3111,
|
|
|
|
debugPort: 3211,
|
|
|
|
liveReloadPort: 3411,
|
2016-11-11 18:29:57 +01:00
|
|
|
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: {
|
2017-02-09 00:50:43 +01:00
|
|
|
// user: "admin@cybafelo.com",
|
2016-12-01 11:55:37 +01:00
|
|
|
// pass: "Toypro42!"
|
|
|
|
// },
|
|
|
|
// secureConnection: false,
|
|
|
|
// tls: {
|
|
|
|
// ciphers: "SSLv3",
|
|
|
|
// rejectUnauthorized: false
|
|
|
|
// },
|
|
|
|
// emails: {
|
2017-02-09 00:50:43 +01:00
|
|
|
// founder: "evgeni@cybafelo.com",
|
|
|
|
// support: "support@cybafelo.com"
|
2016-12-01 11:55:37 +01:00
|
|
|
// }
|
|
|
|
// },
|
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: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3112,
|
|
|
|
debugPort: 3212,
|
|
|
|
liveReloadPort: 3412,
|
2016-11-08 18:30:09 +01:00
|
|
|
cors: true,
|
|
|
|
cluster: false,
|
|
|
|
auth: {
|
|
|
|
secret: "xDKsyQm2F52Y9hfqv7yG80tu1wv90zkH",
|
|
|
|
token_duration: 86400000,
|
|
|
|
api_key: "gw_rocks",
|
|
|
|
admin: {
|
2017-02-09 00:50:43 +01:00
|
|
|
email: "admin@cybafelo.com",
|
2016-11-08 18:30:09 +01:00
|
|
|
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: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3113,
|
|
|
|
debugPort: 3213,
|
|
|
|
liveReloadPort: 3413,
|
2016-11-08 18:30:09 +01:00
|
|
|
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: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3114,
|
|
|
|
debugPort: 3214
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
|
|
|
gate: {
|
2017-01-24 17:44:43 +01:00
|
|
|
port: 3115,
|
|
|
|
debugPort: 3215
|
2016-11-07 12:43:38 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (typeof module !== 'undefined') {
|
|
|
|
module.exports = secure;
|
|
|
|
}
|
|
|
|
|