nexus-dashboard/ecosystem.config.js
2026-02-01 18:42:22 +00:00

36 lines
827 B
JavaScript

module.exports = {
apps: [
{
name: 'nexus',
script: 'node_modules/.bin/next',
args: 'start',
cwd: '/var/www/sites/nexus',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: 3000
}
},
{
name: 'nexus-terminal',
script: 'server.mjs',
cwd: '/var/www/sites/nexus',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '512M',
env: {
NODE_ENV: 'production',
TERMINAL_PORT: 3001,
JWT_SECRET: '4916c430ed2682c2f023762e47531d95c6e51c4c5ab4ca8af79f6f010e203cf9',
VM100_SSH_HOST: '192.168.178.129',
VM100_SSH_USER: 'basti',
VM100_SSH_PASSWORD: 'Ba12sti34+',
}
}
]
};