Skip to content

Add a guide for running Strapi with the PM2 process manager - #3465

Merged
pwizla merged 5 commits into
mainfrom
repo/add-pm2-process-manager-guide
Sep 11, 2026
Merged

Add a guide for running Strapi with the PM2 process manager#3465
pwizla merged 5 commits into
mainfrom
repo/add-pm2-process-manager-guide

Conversation

@derrickmehaffy

@derrickmehaffy derrickmehaffy commented Sep 10, 2026

Copy link
Copy Markdown
Member

This PR adds a deployment guide for running Strapi under PM2, covering installation, the ecosystem file, surviving a reboot, log rotation, and redeploying. It also documents what changes when running several instances: cluster mode needs a JavaScript entry point rather than a package manager script, schema synchronization runs once per process with no lock between instances, and CRON jobs fire once per instance. It replaces the last dead Strapi Forum card, points the inline pm2 recommendation on the deployment page at the guide, and links the guide from the proxy guides now that it exists.

Stacked on #3464. Review that one first.

Direct preview link 👉 here

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Sep 11, 2026 12:48pm UTC

Request Review

@derrickmehaffy
derrickmehaffy force-pushed the repo/add-pm2-process-manager-guide branch from bfd239e to d4a61b1 Compare September 10, 2026 17:48
@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from d4a61b1 to 6b4afaa Compare September 11, 2026 08:40
@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from 6b4afaa to d5d43f0 Compare September 11, 2026 09:11
@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from d5d43f0 to a2f1211 Compare September 11, 2026 09:17
@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from a2f1211 to 191e18a Compare September 11, 2026 09:33
@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from 191e18a to 7c42b3c Compare September 11, 2026 10:27
@pwizla pwizla self-assigned this Sep 11, 2026
@pwizla pwizla added this to the 7.2.0 milestone Sep 11, 2026
@pwizla pwizla added internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections source: CMS labels Sep 11, 2026
@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from 7c42b3c to 7b4429f Compare September 11, 2026 10:58

@pwizla pwizla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, thank you again!
Just like with the other PRs, I applied some changes. Now merging it.

@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from 760ad57 to e5b8c79 Compare September 11, 2026 12:35
@pwizla
pwizla added this pull request to stack #3476 September 11, 2026 12:35
Base automatically changed from repo/add-traefik-proxy-guide to main September 11, 2026 12:45
derrickmehaffy and others added 5 commits September 11, 2026 14:47
Replaces the Strapi Forum guide that went offline when the forum shut down.
Covers installing PM2, the ecosystem file, surviving a reboot, log rotation,
and redeploying. Documents what changes when running several instances:
cluster mode needs a JavaScript entry point rather than a package manager
script, schema synchronization has no lock between instances, and CRON jobs
fire once per instance.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Replaces the last dead forum card, points the inline pm2 recommendation at the
guide instead of the upstream repository, and turns the plain-text PM2
mentions in the proxy guides into links now that the page exists.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Replaces the schema synchronization, CRON and shared storage caveats with the
shared snippet, so the PM2 and HAProxy guides no longer describe the same
constraints in different words.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pwizla
pwizla force-pushed the repo/add-pm2-process-manager-guide branch from e5b8c79 to dcb2376 Compare September 11, 2026 12:47
@pwizla
pwizla merged commit 9ddb52b into main Sep 11, 2026
6 checks passed
@pwizla
pwizla deleted the repo/add-pm2-process-manager-guide branch September 11, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants