root 3 лет назад
Родитель
Сommit
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();

Загрузка…
Отмена
Сохранить