* added cors to env dev * updated socket.io * tweaked pm2 configs * tweaked readme * slight refactor of index * removed types for socket.io as it is part of main package * clean up and setting default ports
16 lines
338 B
JSON
16 lines
338 B
JSON
{
|
|
"name": "excalidraw-collab",
|
|
"script": "./dist/index.js",
|
|
"ignore_watch": ["node_modules", "public"],
|
|
"max_memory_restart": "4G",
|
|
"watch": false,
|
|
"wait_ready": true,
|
|
"log_date_format": "YYYY-MM-DD HH:mm Z",
|
|
"autorestart": true,
|
|
"exec_mode": "fork_mode",
|
|
"instances": 1,
|
|
"env": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
}
|