.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
const path = require("node:path");
|
||||
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "internal-mailserver",
|
||||
cwd: path.join(__dirname, "apps/api"),
|
||||
script: "bun",
|
||||
args: "--env-file ../../.env dist/index.js",
|
||||
interpreter: "none",
|
||||
exec_mode: "fork",
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
time: true,
|
||||
max_memory_restart: "512M",
|
||||
env: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user