2021-04-18 11:18:29 +08:00
|
|
|
module.exports = {
|
|
|
|
apps: [
|
|
|
|
{
|
2021-07-22 21:16:40 +08:00
|
|
|
name: "fennec-fe",
|
2021-04-18 11:18:29 +08:00
|
|
|
script: "serve",
|
|
|
|
args: "",
|
|
|
|
watch: false,
|
|
|
|
ignore_watch: ["node_modules"],
|
|
|
|
log_date_format: "MM-DD HH:mm:ss.SSS Z",
|
|
|
|
env: {
|
|
|
|
PM2_SERVE_PATH: "./build",
|
2021-07-22 21:16:40 +08:00
|
|
|
PM2_SERVE_PORT: 7123,
|
2021-04-18 11:18:29 +08:00
|
|
|
PM2_SERVE_SPA: "true",
|
|
|
|
PM2_SERVE_HOMEPAGE: "/index.html",
|
|
|
|
},
|
|
|
|
max_restarts: 5,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|