chore: add deployment configuration for PM2 and production environment
- Add deploy.sh script for automated deployment via rsync - Add ecosystem.config.js for PM2 process management (2 instances) - Add .env.production.example as production env template - Update config.module.ts to support .env.production file - Add 'pnpm run deploy' script to package.json
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
"test:watch": "jest --watch",
|
||||
"test:cov": "jest --coverage",
|
||||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
||||
"test:e2e": "jest --config ./test/jest-e2e.json"
|
||||
"test:e2e": "jest --config ./test/jest-e2e.json",
|
||||
"deploy": "bash deploy.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/common": "^11.0.1",
|
||||
|
||||
Reference in New Issue
Block a user