Sign inSign up

gielfeldt/imaginary-cache

By gielfeldt

•Updated over 5 years ago

Etagged caching of rescaled images from imaginary using nginx

Image
0

242

gielfeldt/imaginary-cache repository overview

⁠Development

Add desired ports to docker-compose.override.yml:

version: "3"

services:
  cache:
    ports:
      - 81:80
      - 444:443

To run:

docker-compose up -d

⁠Starting

docker run -d --name imaginary h2non/imaginary:1.2.4 -concurrency 10 -enable-url-source docker run -d -p80:80 --link imaginary gielfeldt/imaginary-nginx

⁠Using

See usage at https://github.com/h2non/imaginary⁠

curl -I 'http://localhost:<port>/thumbnail?width=640&quality=95&url=https://homepages.cae.wisc.edu/~ece533/images/baboon.png'

Tag summary

Content type

Image

Digest

Size

11.2 MB

Last updated

over 5 years ago

docker pull gielfeldt/imaginary-cache