chore: initial commit for asepharyana-hub-scraper

This commit is contained in:
asepharyana
2026-07-09 22:07:03 +07:00
commit 80c96eaa42
190 changed files with 28465 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
// PM2 Ecosystem Configuration for Rust
module.exports = {
apps: [
{
name: 'ultimate-rust',
script: 'target/release/scraper',
cwd: process.env.VPS_TARGET_DIR
? `${process.env.VPS_TARGET_DIR}/apps/scraper`
: '/home/asephs/ultimate-asepharyana.cloud/apps/scraper',
interpreter: 'none',
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '1G',
env_production: {
NODE_ENV: 'production',
PORT: 4091,
},
// Logging configuration
error_file: './logs/error.log',
out_file: './logs/out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
},
],
};