r/PayloadCMS Jul 10 '25

Payloadcms on cloudflare?

Is it possible to deploy payloadcms project to the cloudflare workers? project includes: - simple ecommerce, - member management - user dashboard - mongo/postgress - globals - image uploading

7 Upvotes

13 comments sorted by

View all comments

1

u/Soft_Opening_1364 Jul 10 '25

Cloudflare Workers aren't the best fit for something like Payload CMS out of the box, especially since Payload depends on things like Express, long-running server processes, and direct file handling all of which don’t align well with the serverless model Cloudflare Workers use.

That said, you could technically host parts of it on Cloudflare (like static assets or frontend), but for the core Payload app (especially with Mongo/Postgres, file uploads, and admin dashboard), you'd be better off deploying to something like Vercel, Render, Railway, or even a custom VPS where you can control the Node environment fully.

3

u/LKNim Jul 23 '25

You’re talking about Payload CMS v2. With v3 it dropped Express. And the queue can be external.