← back to Pm2 Migration

ecosystem.config.cjs

636 lines

module.exports = {
  apps: [
    {
      "name": "george-gmail",
      "cwd": "/Users/macstudio3/Projects/george-gmail",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "slack-dm-viewer",
      "cwd": "/Users/macstudio3/Projects/slack-dm-viewer",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "archive-agent",
      "cwd": "/Users/macstudio3/Projects/archive-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "resize-it",
      "cwd": "/Users/macstudio3/Projects/resize-it",
      "script": "server.py",
      "interpreter": "python3",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "timeout-agent",
      "cwd": "/Users/macstudio3/Projects/timeout-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "sku-check-skill",
      "cwd": "/Users/macstudio3/Projects/sku-check-skill",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "plumbing-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/plumbing-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "update-sku-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/update-sku-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "vendor-discount-agent",
      "cwd": "/Users/macstudio3/Projects/vendor-discount-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "claudette-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/claudette-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "dex-dedup-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/dex-dedup-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "gemini-classifier",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/scripts",
      "script": "gemini-texture-classify-loop.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "am-recrawl",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/vendor-scrapers",
      "script": "scrape-andrewmartin.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "blog-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/blog-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror",
        "PORT": "9971"
      }
    },
    {
      "name": "color-search",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/color-search",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "cost-hunter",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/cost-hunter",
      "script": "cost-hunter.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "dex-hash-backfill",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/dex-dedup-agent",
      "script": "hash-worker.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "dw-central",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/dw-central",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "full-monty-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/full-monty-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "gap-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/gap-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "gemini-tag-engine",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Designer-Wallcoverings/shopify/scripts/gemini-tag-engine",
      "script": "index.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "gemini-catalog-tagger",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Designer-Wallcoverings/shopify/scripts",
      "script": "gemini-catalog-tagger.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "graphic-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/graphic-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "hormuz-orchestrator",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/hormuz-orchestrator",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "launch-supervisor",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/launch-supervisor",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "product-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/product-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "hawke",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/hawke-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "yolo-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/yolo-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "silas-sku-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/silas-sku-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "vendor-command-center",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/vendor-command-center",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "vendor-onboarding",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/vendor-onboarding-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "room-setting-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/room-setting-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "shopify-expert-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/shopify-expert-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "shopify-queue-worker",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/shopify-queue-worker",
      "script": "worker.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "momentum-pricer",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/momentum-pricer",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "norma-bluesky",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Norma/agents/bluesky-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "norma-email",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Norma/node_modules/.bin",
      "script": "next",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "norma-facebook",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Norma/agents/facebook-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "norma-instagram",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Norma/agents/instagram-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "norma-price",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Norma/agents/price-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "norma-twitter",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Norma/agents/twitter-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "arte-coverage-watch",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Designer-Wallcoverings/DW-Programming",
      "script": "arte-coverage-watch.sh",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "arte-rescrape-loop",
      "cwd": "/Users/macstudio3/kamatera-mirror/Projects/Designer-Wallcoverings/DW-Programming",
      "script": "arte-rescrape-loop.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "artie-agent",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/artie-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    },
    {
      "name": "garrett",
      "cwd": "/Users/macstudio3/kamatera-mirror/DW-Agents/godaddy-agent",
      "script": "server.js",
      "node_args": "--require /Users/macstudio3/Projects/pm2-migration/root-shim.js",
      "autorestart": true,
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "production",
        "LOCAL_MIGRATION": "1",
        "KAMATERA_MIRROR": "/Users/macstudio3/kamatera-mirror"
      }
    }
  ],
};