A minimal compose stack to deploy iipsrv.
Made with two containers, one running iipsrv with spawn-fcgi, the other running nginx.
Nginx can handle load balancing to multiple iipsrv instances, please refer to iipsrv doc
Running:
-
docker-compose up -d
-
Copy some ptiff,jp2,... into ./data
-
Test
curl http://localhost:8094/iiif/image.tiff/info.json
Note: the iipsrv image can be built with alpine to save space, but is generally slower than the Debian one.