Docker Thumbor container
NOTE: THis is currently broken, I am using https://github.com/APSL/docker-thumbor for now.
Adapted from https://github.com/sprymix/docker-thumbor.
$ docker run -p 80:8888 elsdoerfer/thumbor $ wget http://dockerip:80/unsafe/300x0/smart/http://i.imgur.com/MwZwcOY.jpg
The container comes with a default configuration, that includes:
- Using OpenCV feature/face detection (in non-lazy mode).
- Using the filesystem storage, in
- Unsafe urls are enabled.
- The Sentry raven package is installed, but Sentry-based error reporting
is not enabled by default, use the
You can find the full default configuration in the
To customize the configuration, you have two options:
First, you can provide the file
mounting. The contents of this file will be appended to the default
Second, you can provide the environment variable
CONFIG, which will
be appended to the default configuration.
In the default configuration, this is the image cache.
A place to mount in custom configuration.
Custom configuration; inserted directly into the Python-syntax
Sets the security key and disallows "unsafe" urls.
This is applied after CONFIG.
"libdc1394 error: Failed to initialize libdc1394"
from OpenCV seems to be a warning only.