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
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!!
@mateusz_solecki can you elaborate on your solution? I'm having the same issue.
as above, proper setting for media path on railway and payload config
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.