Skip to content
Discussion options

You must be logged in to vote

yes a separate nginx container serving the product images is a reasonable setup

you still need persistent storage for uploads if topcoat receives them mount the same media volume read write in topcoat and read only in nginx nginx serves those files through a stable image URL and your product record stores that URL

so it separates serving from the application rather than removing the volume requirement nginx static files guide

you can put Cloudflare in front of that origin later use new filenames when replacing images or purge the cached URL so customers do not keep seeing the old picture

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jimbrankelly
Comment options

@morvayo
Comment options

Answer selected by jimbrankelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants