parsadanashvili
FREEOP
2 years ago
How can I configure volume mount path for laravel to not delete everything in storage folder on every deployment?
22 Replies
2 years ago
what storage path is in use in your deployment?
2 years ago
but what is the actual path in the container files are stored?
public files are uploaded in /storage/public
its linked to /public/storage
and can access with domain.com/storage
2 years ago
mount a volume to /app/storage/public
https://boleta-do-laravel-main-production-20e7.up.railway.app/storage/images/event/01J369F9QAX6ZXZQ1D4DGKNEJ6.jpg
2 years ago
that's a URL
2 years ago
what is the path your code saves files to
Sorry my fault. I changed mount path to /app/storage/app and it works fine. 🙏

