Skip to content

Commit

Permalink
chore: pm2 ecosystem file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo committed May 2, 2023
1 parent dc4b249 commit 976fd15
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
apps : [{
name: 'nextjs-client',
script: 'pnpm',
args:"start",
cwd:"~/visualdynamics2/apps/client",
instances: 2,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production',
APP_URL: "",
NEXT_PUBLIC_BACKEND_URL: '',
NEXTAUTH_URL: "",
NEXTAUTH_SECRET: "",
EMAIL_NO_REPLY: "",
EMAIL_PASS: ""
}
}]
};

0 comments on commit 976fd15

Please sign in to comment.