Reformat all

This commit is contained in:
Kasra Bigdeli
2019-01-16 23:01:46 -08:00
parent fab96ad238
commit 9b8d75d061
15 changed files with 436 additions and 510 deletions

View File

@@ -1,31 +1,26 @@
{
"captainVersion": "1",
"documentation": "Taken from https://hub.docker.com/r/apsl/thumbor/tags/",
"dockerCompose":
{
"dockerCompose": {
"version": "3.3",
"services":
{
"$$cap_appname-db":
{
"services": {
"$$cap_appname-db": {
"image": "apsl/thumbor:$$cap_thumbor_version",
"volumes": [
"$$cap_appname-thumbor:/data"
],
"restart": "always",
"environment":
{
"environment": {
"THUMBOR_PORT": "80"
}
}
}
},
"instructions":{
"start":"thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images. It also features a VERY smart detection of important points in the image for better cropping and resizing, using state-of-the-art face and feature detection algorithms (more on that in Detection Algorithms). Using thumbor is very easy (after it is running). All you have to do is access it using an URL for an image, like this:\n http://<thumbor-server>/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/VN0JiwzmOw0b0lg.jpg\n\n See http://thumbor.org for more details. \n\n Enter your thumbor Configuration parameters and click on next. It will take about a minute for the process to finish.",
"end":"'thumbor is deployed and available as $$cap_appname-db. Go to YOUR_APP_URL/unsafe/200x50/i.imgur.com/bvjzPct.jpg to test thumbor!"
"instructions": {
"start": "thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images. It also features a VERY smart detection of important points in the image for better cropping and resizing, using state-of-the-art face and feature detection algorithms (more on that in Detection Algorithms). Using thumbor is very easy (after it is running). All you have to do is access it using an URL for an image, like this:\n http://<thumbor-server>/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/VN0JiwzmOw0b0lg.jpg\n\n See http://thumbor.org for more details. \n\n Enter your thumbor Configuration parameters and click on next. It will take about a minute for the process to finish.",
"end": "'thumbor is deployed and available as $$cap_appname-db. Go to YOUR_APP_URL/unsafe/200x50/i.imgur.com/bvjzPct.jpg to test thumbor!"
},
"variables": [
{
"variables": [{
"id": "$$cap_thumbor_version",
"label": "Thumbor Version",
"defaultValue": "6.4.2",
@@ -33,4 +28,4 @@
"validRegex": "/.{1,}/"
}]
}
}