2021-05-03 10:21:42 +08:00
|
|
|
module.exports = {
|
|
|
|
apps: [
|
|
|
|
{
|
2021-05-04 21:08:00 +08:00
|
|
|
name: "fennec-bs",
|
2021-05-03 10:21:42 +08:00
|
|
|
script: "serve",
|
2021-05-03 12:03:18 +08:00
|
|
|
args: "",
|
2021-05-03 10:21:42 +08:00
|
|
|
watch: false,
|
|
|
|
ignore_watch: ["node_modules"],
|
|
|
|
log_date_format: "MM-DD HH:mm:ss.SSS Z",
|
2021-05-03 12:03:18 +08:00
|
|
|
env: {
|
|
|
|
PM2_SERVE_PATH: "./build",
|
|
|
|
PM2_SERVE_PORT: 7135,
|
|
|
|
PM2_SERVE_SPA: "true",
|
|
|
|
PM2_SERVE_HOMEPAGE: "/index.html",
|
|
|
|
},
|
2021-05-03 10:21:42 +08:00
|
|
|
max_restarts: 5,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|