Using with CapRover - persistent data?

default discord avatar
chaitealattayy
3 months ago
2

I'm using Payload alongside Next for a headless build. I'm using CapRover to manage my server.



For my MongoDB instance, I'm using a persistent app per CapRover's docs:

https://caprover.com/docs/persistent-apps.html

.



I currently don't have Payload set to be a persistent app. Should it be? I'm leaning towards yes because it looks like things like admin thumbnails get saved directly to the Payload directory as opposed to the MongoDB.



Definitely curious to hear what people think here.

  • default discord avatar
    jarrod69420
    3 months ago

    You will want it to be persistant if that is where you are going to store files. Otherwise you could opt for cloud storage to store files, i.e. AWS S3 or similar!

  • default discord avatar
    chaitealattayy
    3 months ago

    That makes sense, thanks!

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.