summaryrefslogtreecommitdiff
path: root/ecosystem.config.cjs
blob: ac93da8839b976c4e8eae623621aa8f0f3d98039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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",
        },
    },
};