vSphere-Backup-Manager/ecosystem.config.js
2026-06-21 12:25:23 +07:00

24 lines
622 B
JavaScript

module.exports = {
apps: [
{
name: 'vsphere-backup-manager',
script: 'gui_app.py',
// If you are using a virtual environment (recommended), set the interpreter to:
// interpreter: './venv/bin/python3',
interpreter: 'python3',
cwd: './',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '500M',
env: {
PORT: '5000',
SECRET_KEY: 'vsphere-backup-production-key-change-this'
},
error_file: './logs/pm2_err.log',
out_file: './logs/pm2_out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss'
}
]
};