Generates on-demand thumbnails of images from the zoo owned Azure blob storage and (currently) specific S3 buckets. These buckets are allowed:
- panoptesuploads (Azure storage account,
public
container) - All other paths will be proxied to Azure
zooniversestatic
storage account in the$web
container (e.g. www.sciencegossip.org, www.galaxyzoo.org)
E.g. the following URL
proxies to the upstream URL -->
docker-compose build
docker-compose up
# media hosted in azure zooniversestatic storage account $web container
curl -vv localhost:8080/400x200/www.zooniverse.org/291a76c92e4335f7e3a0bed53af6a7bf.jpg
# media hosted in the azure panoptes-uploads storage account public container
curl -vv localhost:8080/400x200/panoptes-uploads.zooniverse.org/tutorial_attached_image/00029b92-9b79-4838-8aa0-983b2965a691.png
curl -vv localhost:8080/400x200/tutorial_attached_image/00029b92-9b79-4838-8aa0-983b2965a691.png