#e-commerce

1 messages · Page 1 of 1 (latest)

grim sandal
#

I am getting 504, for images, same setup is working fine in local, when i hosted in domain server with default seeder option i am see the images in server folder, it not loading is there any to fix this ?

worthy cobaltBOT
tidal summit
#

Which ecommerce version? V2? or one from PR in v3?

grim sandal
#

I am not aware of V3 from PR

#

This is regular website temperate

main veldt
grim sandal
#

i am using coolify server

pallid tendon
#

If you're using the default Dockerfile with local image storage and your media folder is called "media," you would need to add folder permissions for the media folder in your Dockerfile, ie;

COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static

RUN mkdir -p media
RUN chown nextjs:nodejs media

USER nextjs

also, make sure that you set the output to standalone in your next config.

tidal summit
grim sandal
#

if you have link can you please share with me for version V3