module.exports = {
  apps: [
    {
      name: "tasteby-api",
      cwd: "/Users/joungmin/workspaces/tasteby/backend-java",
      script: "./start.sh",
      interpreter: "/bin/bash",
    },
    // Python backend (disabled - kept for rollback)
    // {
    //   name: "tasteby-api-python",
    //   cwd: "/Users/joungmin/workspaces/tasteby/backend",
    //   script: "run_api.py",
    //   interpreter: "/Users/joungmin/workspaces/tasteby/backend/.venv/bin/python",
    //   env: { PYTHONPATH: "." },
    // },
    // {
    //   name: "tasteby-daemon-python",
    //   cwd: "/Users/joungmin/workspaces/tasteby/backend",
    //   script: "run_daemon.py",
    //   interpreter: "/Users/joungmin/workspaces/tasteby/backend/.venv/bin/python",
    //   env: { PYTHONPATH: "." },
    // },
    {
      name: "tasteby-web",
      cwd: "/Users/joungmin/workspaces/tasteby/frontend",
      script: "npm",
      args: "run dev",
      env: { PORT: 3001 },
    },
  ],
};
