Initial commit: API and deploy configs

This commit is contained in:
Noro Studio
2026-06-30 00:51:32 +03:30
commit b0361594b1
15 changed files with 985 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
module.exports = {
apps: [
{
name: 'studionoro-api',
cwd: '/var/www/studionoro/api',
script: 'src/index.js',
instances: 1,
autorestart: true,
max_memory_restart: '300M',
env: {
NODE_ENV: 'production',
PORT: 4000,
},
},
{
name: 'studionoro-web',
cwd: '/var/www/studionoro/nuxt-tailwind-app',
script: '.output/server/index.mjs',
instances: 1,
autorestart: true,
max_memory_restart: '512M',
env: {
NODE_ENV: 'production',
PORT: 3000,
HOST: '127.0.0.1',
NITRO_HOST: '127.0.0.1',
NITRO_PORT: '3000',
},
},
],
}