This project provides a docker image for the awesome Pilbox image proxy. Which we use in production to convert images on the fly. From the Plibox project page:
Pilbox is an image processing application server built on Python’s Tornado web framework using the Python Imaging Library (Pillow). It is not intended to be the primary source of images, but instead acts as a proxy which requests images and resizes them as desired.
The example below is a typical image proxy service definition in a
docker-compose.yml
file for deployment under Docker-Swarm
or just locally with docker-dompose.
imageproxy:
image: lovelysystems/docker-pilbox:1.3.300
command:
- "--client_key=somesharedsecret"
- "--implicit_base_url=https://www.lovelysystems.com/"
ports:
- "8888:8888"
To run just start the container with optional arguments like this:
docker run --rm lovelysystems/docker-pilbox:dev
Take a look at the Lovely Gradle Plugin project page on how to build and deploy the docker image.
Change the Pilbox version in requirements.in and run pip-compile.
Edit CHANGES.rst
and set the version to <pilbox versin>00
.
If only this project changes but not the upstream version increase the padded number at the end of the version