/** PM2 — jalankan: pm2 start ecosystem.config.cjs */
module.exports = {
	apps: [
		{
			name: 'catatan-warung',
			script: 'build/index.js',
			cwd: __dirname,
			instances: 1,
			autorestart: true,
			watch: false,
			max_memory_restart: '512M',
			env: {
				NODE_ENV: 'production',
				PORT: 3000,
				HOST: '127.0.0.1'
			},
			env_file: '.env'
		}
	]
};
