Files
markdownblog/config.ecosystem.js
2025-06-20 16:05:57 +02:00

22 lines
446 B
JavaScript

module.exports = {
apps: [
{
name: "markdownblog",
script: "node_modules/next/dist/bin/next",
args: "start",
instances: 1, // Use 1 unless you have a reverse proxy
autorestart: true,
watch: false,
max_memory_restart: "1G",
env: {
NODE_ENV: "development"
},
env_production: {
NODE_ENV: "production",
PORT: 3000,
HOST: "0.0.0.0"
}
}
]
};