ecosystem.config.js
// Atomic 50 microsite — pm2 process definition.
// PORT is PINNED to 9964 (9942 is already used by atomic50-viewer internal tool).
// Nginx upstream = 127.0.0.1:9964.
module.exports = {
apps: [
{
name: 'atomic50',
script: 'server.js',
cwd: __dirname,
env: {
NODE_ENV: 'production',
PORT: 9964,
},
max_restarts: 10,
autorestart: true,
},
],
};