Merge branch 'second' of http://git.kingsome.cn/node/card_svr into second
This commit is contained in:
commit
879184d102
@ -7,6 +7,7 @@ module.exports = {
|
||||
script : "./node_modules/@colyseus/proxy/bin/proxy",
|
||||
instances : 1,
|
||||
exec_mode : 'cluster',
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
env: {
|
||||
PORT: 2567,
|
||||
}
|
||||
@ -19,10 +20,12 @@ module.exports = {
|
||||
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日志路径
|
||||
// out_file : '', // out日志路径,
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
env: {
|
||||
PORT: 4000,
|
||||
DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*",
|
||||
// DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*",
|
||||
DEBUG: "colyseus:errors,jc:*",
|
||||
NODE_ENV: "production",
|
||||
}
|
||||
},
|
||||
@ -34,6 +37,7 @@ module.exports = {
|
||||
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
||||
// error_file : '', // error日志路径
|
||||
// out_file : '', // out日志路径
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
env: {
|
||||
PORT: 2500,
|
||||
DEBUG: "colyseus:errors,jc:*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user