diff --git a/.env.development b/.env.development index 8890f8d4..a2f63287 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ NEXT_PUBLIC_API_SERVER_PATH="https://dev-api.hanasys.jp" NEXT_PUBLIC_HOST_URL="//1.248.227.176:4000" -NEXT_PUBLIC_API_HOST_URL="http://1.248.227.176:5000" +NEXT_PUBLIC_API_HOST_URL="https://dev.hanasys.jp" SESSION_SECRET="i3iHH1yp2/2SpQSIySQ4bpyc4g0D+zCF9FAn5xUG0+Y=" diff --git a/dev.ecosystem.config.js b/dev.ecosystem.config.js index 6a38ad34..3bd3ffde 100644 --- a/dev.ecosystem.config.js +++ b/dev.ecosystem.config.js @@ -6,7 +6,7 @@ module.exports = { instances: 1, exec_mode: 'fork', env: { - NODE_ENV: 'development', + PORT: 5010, }, }, ], diff --git a/prd1.ecosystem.config.js b/prd1.ecosystem.config.js new file mode 100644 index 00000000..6a85f59b --- /dev/null +++ b/prd1.ecosystem.config.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: 'qcast-front-production-1', + script: 'node_modules/next/dist/bin/next', + instances: 1, + exec_mode: 'fork', + env: { + PORT: 5000, + }, + }, + ], +} diff --git a/prd2.ecosystem.config.js b/prd2.ecosystem.config.js new file mode 100644 index 00000000..0083d8e3 --- /dev/null +++ b/prd2.ecosystem.config.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: 'qcast-front-production-2', + script: 'node_modules/next/dist/bin/next', + instances: 1, + exec_mode: 'fork', + env: { + PORT: 5001, + }, + }, + ], +}