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.

missing media files

default discord avatar
mateusz_soleckilast year
5

I have dockerfile payload config on railway app, but every deployment clean media files. Any idea why ? I also have volume for that mapped for /media so should works ?

  • Did you setup the volume in railway? Or just in your dockerfile

  • default discord avatar
    mateusz_soleckilast year

    yes, I have volume mounted in railway on /media path. Dockerfile is default



    staticDir = /home/node/app/media


    and


    disc mounting path = /home/node/app/media



    and now it works

  • Nice work!!

  • default discord avatar
    kevinfromsmore_75353last year
    @568552242618171441

    can you elaborate on your solution? I'm having the same issue.

  • default discord avatar
    mateusz_soleckilast year

    as above, proper setting for media path on railway and payload config

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.