瀏覽代碼

ecosystem settings

master
root 3 年之前
父節點
當前提交
92460050e2
共有 2 個文件被更改,包括 18 次插入0 次删除
  1. +15
    -0
      ecosystem.config.js
  2. +3
    -0
      index.js

+ 15
- 0
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",
},
},
],
};

+ 3
- 0
index.js 查看文件

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

Loading…
取消
儲存