Docker Image for Thumbd based on airdock/node:10
Thumbd is an image thumbnailing server built on top of Node.js, SQS, S3, and ImageMagick.
Purpose of this image is:
Name: airdock/thumbd
Status: develop
Dependencies: airdock/node:10
Few links:
You should have already install Docker.
Configure your .env file and execute:
docker run -d --name thumbd --env-file=.env airdock/thumbd
Thumbd requires the following environment variables to be set:
us-east-1.convert.15000.private, or public-read. Defaults to private.STANDARD or REDUCED_REDUNDANCY. Defaults to STANDARD.When running locally, I set these environment variables in a .env file.
See file .end.default
The thumbd server:
http:// or https://.BUCKET environment variable.[original filename excluding extension]_[thumbnail suffix].[thumbnail format]Assume that the following thumbnail job was received over SQS:
{
"original": "example.png",
"descriptions": [
{
"suffix": "tiny",
"width": 48,
"height": 48
},
{
"suffix": "small",
"width": 100,
"height": 100,
"background": "red"
},
{
"suffix": "medium",
"width": 150,
"height": 150,
"strategy": "bounded"
}
]
}
Once thumbd processes the job, the files stored in S3 will look something like this:
The descriptions received in the thumbnail job describe the way in which thumbnails should be generated.
description accepts the following keys:
jpg, gif, defaults to jpg.%(command)s -border 0 %(localPaths[0])s %(convertedPath)s90.See Readme of thumbd project for more information.
make buildSee Docker Project Tree for more details.
The MIT License (MIT)
Copyright (c) 2015 Airdock.io
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Content type
Image
Digest
sha256:9945e2f8d…
Size
163.7 MB
Last updated
over 7 years ago
docker pull airdock/thumbd