Skip to content

Commit

Permalink
chore: add pm2 config file
Browse files Browse the repository at this point in the history
  • Loading branch information
AprilNEA committed Dec 27, 2023
1 parent 7961c74 commit bb1051b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
apps: [
{
name: 'ChatGPT Admin Web',
script: 'pnpm run start',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '2G',
env: {
NODE_ENV: 'development',
},
env_production: {
NODE_ENV: 'production',
},
},
],
};

0 comments on commit bb1051b

Please sign in to comment.