Merge branch 'second' of http://git.kingsome.cn/node/card_svr into second

This commit is contained in:
yuexin 2021-02-01 17:37:41 +08:00
commit de0abddee7

View File

@ -7,6 +7,8 @@ module.exports = {
script : "./node_modules/@colyseus/proxy/bin/proxy",
instances : 1,
exec_mode : 'cluster',
error_file : '/data/logs/card_svr/error/proxy_error.log', // error日志路径
out_file : '/data/logs/card_svr/out/proxy_info.log', // out日志路径
log_date_format: "YYYY-MM-DD HH:mm:ss",
env: {
PORT: 2567,
@ -19,8 +21,8 @@ module.exports = {
instances : 2,
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
increment_var : 'PORT', // increment a environment variable for each instance launched
// error_file : '', // error日志路径
// out_file : '', // out日志路径,
error_file : '/data/logs/card_svr/error/card_svr_error.log', // error日志路径
out_file : '/data/logs/card_svr/out/card_svr_info.log', // out日志路径,
log_date_format: "YYYY-MM-DD HH:mm:ss",
env: {
PORT: 4000,
@ -35,8 +37,8 @@ module.exports = {
watch : true, // optional
instances : 1,
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
// error_file : '', // error日志路径
// out_file : '', // out日志路径
error_file : '/data/logs/card_svr/error/robot_error.log', // error日志路径
out_file : '/data/logs/card_svr/out/robot_info.log', // out日志路径
log_date_format: "YYYY-MM-DD HH:mm:ss",
env: {
PORT: 2500,