官网 初版

This commit is contained in:
rucky
2026-03-18 17:13:27 +08:00
parent 879c4bdfc8
commit 241a76caeb
95 changed files with 8889 additions and 113 deletions

20
ecosystem.config.js Normal file
View File

@@ -0,0 +1,20 @@
const path = require("path");
module.exports = {
apps: [
{
name: "nanami-web",
script: "server.js",
cwd: path.join(__dirname, ".next", "standalone"),
exec_mode: "fork",
env: {
NODE_ENV: "production",
PORT: 3000,
HOSTNAME: "0.0.0.0",
},
instances: 1,
autorestart: true,
max_memory_restart: "512M",
},
],
};