diff options
author | Raphael <mail@raphaelkabo.com> | 2023-10-08 19:13:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 19:13:34 +0100 |
commit | 46f24a4cde75325913c1f9de6ee1ed1e59c8cfa2 (patch) | |
tree | bde62c4baff47ef482189b72e6b889ab6ee07fb6 /ecosystem.config.cjs | |
parent | af01cfb27b5b0e82c27a81a027c65a52f5996859 (diff) | |
parent | 9ef8e220b4fb582d620016d293b340a63ec97cff (diff) |
Merge branch 'main' into rk/typescript
Diffstat (limited to 'ecosystem.config.cjs')
-rw-r--r-- | ecosystem.config.cjs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs new file mode 100644 index 0000000..ac93da8 --- /dev/null +++ b/ecosystem.config.cjs @@ -0,0 +1,24 @@ +module.exports = { + apps: [ + { + name: "gathio-prod", + script: "pnpm start", + watch: false, + instances: 1, + autorestart: true, + max_restarts: 10, + max_memory_restart: "512M", + }, + ], + + deploy: { + production: { + user: "raphael", + host: "gath.io", + ref: "origin/main", + repo: "git@github.com:lowercasename/gathio", + path: "/home/raphael/gathio-production", + "post-deploy": "./deploy.sh", + }, + }, +}; |