Big update to deploy scripts, and deploy prosecss

This commit is contained in:
Max committed 2026-10-28 11:54:19 -07:00
1 parent 2d5d23b104
commit 590ae01055
141 files changed
+8483 -53810

No files matched your search

+4 -11
View File
@@ -7,7 +7,10 @@ module.exports = {
// args: 'one two',
instances: 1,
autorestart: true,
watch: true,
// Off by default so it is safe in production: with watch on, a `git pull`
// that touches server files restarts pm2 mid-pull, potentially booting a
// half-updated tree. startLocalDev.sh passes --watch for development.
watch: false,
ignore_watch : ["node_modules", "staticFiles"],
max_memory_restart: '1G',
env: {
@@ -18,14 +21,4 @@ module.exports = {
}
}],
deploy : {
production : {
user : 'node',
host : '212.83.163.1',
ref : 'origin/master',
repo : '[email protected]:repo.git',
path : '/var/www/production',
'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production'
}
}
};