Initial commit: API and deploy configs
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user