testing this shit

This commit is contained in:
2025-06-20 16:05:57 +02:00
parent d0cc983331
commit 803b9899df
5 changed files with 1176 additions and 25 deletions

21
config.ecosystem.js Normal file
View File

@@ -0,0 +1,21 @@
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"
}
}
]
};