Persisting Images problem after commit/deploy
iampaulosilva
PROOP

a year ago

Each time i commit/deploy a new update all my images urls wont work.Any idea what im doing wrong? it all works fine till i redeploy but only for the user uploads tho. they are being save at /wwwroot/Images and image path is being save as /Images . and my volume path is app/Images. Thanks

Solved

8 Replies

iampaulosilva
PROOP

a year ago

dockerfile and path


iampaulosilva
PROOP

a year ago

saving images method


iampaulosilva
PROOP

a year ago

loading images

Attachments


iampaulosilva
PROOP

a year ago

dockercompose

Attachments


iampaulosilva
PROOP

a year ago

volume mount path and imageurl at mysql.


Status changed to Awaiting User Response Railway over 1 year ago


brody
EMPLOYEE

a year ago

If you are saving images into /app/wwwroot/Images then that is the mount point you want to use for your volume too.


brody
EMPLOYEE

a year ago

Though preferably you would save Images into something like /app/wwwroot/data/Images and mount the volume to /app/wwwroot/data just so that you have a more generalized storage path, meaning adding extra media folders won't require a rewrite in the future.


iampaulosilva
PROOP

a year ago

Thats .totaly worked


Status changed to Awaiting Railway Response Railway over 1 year ago


Status changed to Solved brody over 1 year ago


Loading...