Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Vercel deployment updates?

default discord avatar
captken.last year
6

Any one got a guide to deploying on vercel - if not what everyone using for production?

  • default discord avatar
    imcorfitzlast year

    Have you been facing any problems with deploying? Basically you have to keep 2 things in mind when deploying to Vercel:


    1. There is no persistent file storage, so if you have media uploads, you likely need to use a cloud storage a la S3.


    2. There is no MongoDB built in to Vercel, so you need to create a Mongo Atlas database and add it as an ENV variable for your deployment.


    Aside from that, there shouldn't be any limitation in simply deploying it to Vercel.



    EC2 on AWS is also an option, but cumbersome if you aren't familiar with Sysadm.



    However if you want a solution built for your PayloadCMS, with Mongo and minimal-to-no maintenance?

    https://payloadcms.com/cloud-pricing
  • default discord avatar
    olivier_vdlast year

    I’m using northflank and AWS S3 for persistent storage

  • default discord avatar
    captken.last year

    nice one - thanks for the advice - i did not have any success on Vercel and ened up getting it working on railway

  • default discord avatar
    daniel5026454last year
    @895705628754968577

    please can you share how you did this ?

  • default discord avatar
    captken.last year

    I connected git and deployed, we originally tried Vercel which was problematic as I recall in deployment not having any logs to see why it was crashing - moved to Railway and on deployment which does have logs to check and see the reason for the crash and go step by step and then it worked. Unfortunately I can not be more specific as I dont recall the exact reasons only the way we resolved it.

  • default discord avatar
    imcorfitzlast year

    Great stuff working it out. You know if the resolution now also makes it possible for you to deploy to Vercel?

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.