修改pm2启动脚本

This commit is contained in:
zhl 2020-12-18 11:15:45 +08:00
parent 0220c16758
commit 6ae9855edf

View File

@ -1,5 +1,4 @@
let config = require('./config/config.json');
module.exports = {
apps: [
{
@ -8,9 +7,6 @@ module.exports = {
script : "./node_modules/@colyseus/proxy/bin/proxy",
instances : 1, // scale this up if the proxy becomes the bottleneck
exec_mode : 'cluster',
env: {
REDIS_URL: config.redis
}
},
{
port : 4000,