← back to Dear Bubbe Nextjs

ecosystem.config.js

17 lines

module.exports = {
  apps: [{
    name: 'bubbe',
    script: 'npm',
    args: 'start',
    cwd: '/root/Projects/dear-bubbe-nextjs',
    env: {
      PORT: 3011,
      NODE_ENV: 'production',
      // API keys are loaded from .env.local (do NOT hardcode here — a stale
      // placeholder with an em-dash used to override the real key and crash chat).
      // USE_ANTHROPIC=1 only when the Anthropic account has credits; OpenAI is primary.
      USE_ANTHROPIC: '0'
    }
  }]
}