1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Server: Fixes #12721: Prevent PM2 logs from accumulating in the image container (#12723)

This commit is contained in:
Laurent Cozic
2025-07-16 15:17:41 +01:00
committed by GitHub
parent f92d5063cd
commit add4ddfcb9

View File

@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"start-dev": "yarn build && JOPLIN_IS_TESTING=1 nodemon --config nodemon.json --ext ts,js,mustache,css,tsx dist/app.js --env dev",
"start-prod": "pm2 kill && pm2 start --no-daemon --exp-backoff-restart-delay=1000 dist/app.js",
"start-prod": "pm2 kill && pm2 install pm2-logrotate && pm2 set pm2-logrotate:max_size 100MB && pm2 set pm2-logrotate:retain 5 && pm2 set pm2-logrotate:compress true && pm2 start --no-daemon --exp-backoff-restart-delay=1000 dist/app.js",
"rebuild": "yarn clean && yarn build && yarn tsc",
"build": "gulp build",
"devCreateDb": "node dist/app.js --env dev --create-db",