Skip to content

Commit

Permalink
pm2 ecosystem to server 3000
Browse files Browse the repository at this point in the history
  • Loading branch information
piercing-wind committed Jul 14, 2024
1 parent aeac973 commit 59e2386
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
name: "aiflavoured",
script: "pnpm start",
watch: true,
execec_mode: "cluster",
env: {
NODE_ENV: "production",
},
Expand Down
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
server :{
port: 3000,
}

// experimental: {
// serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
// },
Expand Down

0 comments on commit 59e2386

Please sign in to comment.