修改pm2启动脚本
This commit is contained in:
parent
0220c16758
commit
6ae9855edf
@ -1,5 +1,4 @@
|
|||||||
|
|
||||||
let config = require('./config/config.json');
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
@ -8,9 +7,6 @@ module.exports = {
|
|||||||
script : "./node_modules/@colyseus/proxy/bin/proxy",
|
script : "./node_modules/@colyseus/proxy/bin/proxy",
|
||||||
instances : 1, // scale this up if the proxy becomes the bottleneck
|
instances : 1, // scale this up if the proxy becomes the bottleneck
|
||||||
exec_mode : 'cluster',
|
exec_mode : 'cluster',
|
||||||
env: {
|
|
||||||
REDIS_URL: config.redis
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
port : 4000,
|
port : 4000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user