module.exports = {
  apps: [{
    name: 'whatsapp-bot-api',
    script: 'dist/index.js',
    instances: 1,
    autorestart: true,
    watch: false,
    max_memory_restart: '1G',
    env: {
      NODE_ENV: 'production',
      PORT: 3000,
      TOKEN_SENHA: '@@EQTL2025'
    },
    env_production: {
      NODE_ENV: 'production',
      PORT: 3000,
      TOKEN_SENHA: '@@EQTL2025'
    },
    error_file: './logs/err.log',
    out_file: './logs/out.log',
    log_file: './logs/combined.log',
    time: true,
    log_date_format: 'YYYY-MM-DD HH:mm:ss Z'
  }]
};
