Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
ade2092e1f feat: create Docker images for api-server (#51142) 2023-09-13 14:13:17 +05:30
Oliver Eyton-Williams
7fd74c8f5c fix(tools): manage PM2 globally 2023-07-17 16:45:37 +05:30
Oliver Eyton-Williams
16dec4ef86 feat: use pnpm to manage pm2 (#49574)
* fix(api): use pnpm to manage pm2

This means that pm2 will get the correct NODE_PATH environment variable.
Also, if we use pnpm to manage node, this ensure that pm2 will use that
node version.

* docs(devops): update api install and update docs

* feat: set node version via npmrc

This means that all scripts (pnpm run ...) will use this node version.
The only way to get other node versions is to invoke `node` directly.

* fix(docs): update api docs for pnpm installation

* feat: use pm2 from root

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-07 14:54:31 -08:00
Oliver Eyton-Williams
1c8a0778a1 fix: make pm2 name match deployment env (#46035) 2022-05-18 13:40:29 +05:30
Oliver Eyton-Williams
0e77b1523f feat: add ecosystem file for pm2 (#46016)
* feat: add ecosystem file for pm2

* fix: use cluster mode, but with logs

* fix: stop hardcoding DEBUG

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-05-18 02:14:41 +05:30