aboutsummaryrefslogtreecommitdiff
path: root/pm2.json
diff options
context:
space:
mode:
Diffstat (limited to 'pm2.json')
-rw-r--r--pm2.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/pm2.json b/pm2.json
new file mode 100644
index 0000000..3be4f86
--- /dev/null
+++ b/pm2.json
@@ -0,0 +1,26 @@
+{
+ "apps" : [
+ {
+ "name": "lolisafe-api",
+ "script": "npm",
+ "args": "run api",
+ "env": {
+ "NODE_ENV": "production"
+ },
+ "env_production" : {
+ "NODE_ENV": "production"
+ }
+ },
+ {
+ "name": "lolisafe-website",
+ "script": "npm",
+ "args": "run site",
+ "env": {
+ "NODE_ENV": "production"
+ },
+ "env_production" : {
+ "NODE_ENV": "production"
+ }
+ }
+ ]
+}