Browse Source

ecosystem settings

master
root 3 years ago
parent
commit
92460050e2
2 changed files with 18 additions and 0 deletions
  1. +15
    -0
      ecosystem.config.js
  2. +3
    -0
      index.js

+ 15
- 0
ecosystem.config.js View File

@@ -0,0 +1,15 @@
module.exports = {
apps: [
{
name: "hotel_strapi",
script: "index.js",
exec_mode: "fork",
env: {
NODE_ENV: "development",
},
env_production: {
NODE_ENV: "production",
},
},
],
};

+ 3
- 0
index.js View File

@@ -0,0 +1,3 @@
const strapi = require('strapi');
strapi(/* {...} */).start();

Loading…
Cancel
Save