mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
declare cwd
This commit is contained in:
parent
2ab040bf07
commit
3ce24b25d6
@ -2,33 +2,53 @@ module.exports = {
|
|||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: "main_api",
|
name: "main_api",
|
||||||
script: "./packages/server/dist/index.js",
|
script: "./dist/index.js",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster"
|
exec_mode: "cluster",
|
||||||
|
env: {
|
||||||
|
"NODE_ENV": "production",
|
||||||
|
},
|
||||||
|
cwd: "./packages/server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "music_api",
|
name: "music_api",
|
||||||
script: "./packages/music_server/dist/index.js",
|
script: "./dist/index.js",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster"
|
exec_mode: "cluster",
|
||||||
|
env: {
|
||||||
|
"NODE_ENV": "production",
|
||||||
|
},
|
||||||
|
cwd: "./packages/music_server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "file_api",
|
name: "file_api",
|
||||||
script: "./packages/file_server/dist/index.js",
|
script: "./dist/index.js",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster"
|
exec_mode: "cluster",
|
||||||
|
env: {
|
||||||
|
"NODE_ENV": "production",
|
||||||
|
},
|
||||||
|
cwd: "./packages/file_server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "marketplace_api",
|
name: "marketplace_api",
|
||||||
script: "./packages/marketplace_server/dist/index.js",
|
script: "./dist/index.js",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster"
|
exec_mode: "cluster",
|
||||||
|
env: {
|
||||||
|
"NODE_ENV": "production",
|
||||||
|
},
|
||||||
|
cwd: "./packages/marketplace_server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "chat_api",
|
name: "chat_api",
|
||||||
script: "./packages/chat_server/dist/index.js",
|
script: "./dist/index.js",
|
||||||
instances: "max",
|
instances: "max",
|
||||||
exec_mode: "cluster"
|
exec_mode: "cluster",
|
||||||
|
env: {
|
||||||
|
"NODE_ENV": "production",
|
||||||
|
},
|
||||||
|
cwd: "./packages/chat_server"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user