module.exports = {
  apps: [{
    name: 'images',
    script: 'server.js',
    cwd: '/mnt/webdata/www/images.wadevelop.ru',
    instances: 1,
    exec_mode: 'fork',
    watch: false,
    max_memory_restart: '256M',
    restart_delay: 3000,
    max_restarts: 10,
    min_uptime: 5000,
    env: {
      NODE_ENV: 'production',
    },
    error_file: '/home/treamz/.pm2/logs/images-error.log',
    out_file: '/home/treamz/.pm2/logs/images-out.log',
    merge_logs: true,
    log_date_format: 'YYYY-MM-DD HH:mm:ss',
  }],
};
