adding images in server's files
kashakesho
HOBBYOP

2 years ago

is adding images in server folder will be deleted every time i deploy or the the server crashes?if yes is there any way i can fix that without saving images in database?

1 Replies

dev
MODERATOR

2 years ago

You can mount a volume to the folder you're saving your images in, the images will then persist between deployments.

If you mount the volume to /app/images then all files in the /images directory of your app will persist


Loading...