@ -19,7 +19,7 @@ services:
- taskme-minio
volumes:
- ./:/home/node/app
command: npm run start
command: npm run start:stage
taskme-postgres:
image: postgres:11
@ -5,7 +5,7 @@ module.exports = {
script: './dist/main.js',
node_args: '-r dotenv/config',
watch: true,
ignore_watch: ['taskme', 'node_modules'],
ignore_watch: ['taskme', 'node_modules', '.git', '.husky', 'nginx'],
},
],
}
@ -10,6 +10,7 @@
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "pm2-runtime start ecosystem.config.js",
"start:stage": "pm2-runtime start ecosystem.config.prod.js",
"build:dev": " nest build --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "nest start --debug",