diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..ac93eea --- /dev/null +++ b/ecosystem.config.js @@ -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", + }, + }, + ], +}; diff --git a/index.js b/index.js new file mode 100644 index 0000000..22a42de --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +const strapi = require('strapi'); + +strapi(/* {...} */).start(); \ No newline at end of file