mirror of https://github.com/Budibase/budibase.git
13 changed files with 47 additions and 8 deletions
@ -0,0 +1,5 @@ |
|||
if [ -z $CLUSTER_MODE ]; then |
|||
yarn run:docker |
|||
else |
|||
yarn run:docker:cluster |
|||
fi |
|||
@ -0,0 +1,9 @@ |
|||
module.exports = { |
|||
apps: [ |
|||
{ |
|||
script: "dist/index.js", |
|||
instances: "max", |
|||
exec_mode: "cluster", |
|||
}, |
|||
], |
|||
} |
|||
@ -0,0 +1,5 @@ |
|||
if [[ -z $CLUSTER_MODE ]]; then |
|||
yarn run:docker |
|||
else |
|||
yarn run:docker:cluster |
|||
fi |
|||
@ -0,0 +1,9 @@ |
|||
module.exports = { |
|||
apps: [ |
|||
{ |
|||
script: "dist/index.js", |
|||
instances: "max", |
|||
exec_mode: "cluster", |
|||
}, |
|||
], |
|||
} |
|||
Loading…
Reference in new issue