summaryrefslogtreecommitdiffhomepage
path: root/public/v2/apps/thumbor.json
diff options
context:
space:
mode:
Diffstat (limited to 'public/v2/apps/thumbor.json')
-rw-r--r--public/v2/apps/thumbor.json21
1 files changed, 10 insertions, 11 deletions
diff --git a/public/v2/apps/thumbor.json b/public/v2/apps/thumbor.json
index fb15b5e..1e305d0 100644
--- a/public/v2/apps/thumbor.json
+++ b/public/v2/apps/thumbor.json
@@ -8,9 +8,7 @@
"services": {
"$$cap_appname-db": {
"image": "minimalcompact/thumbor:$$cap_thumbor_version",
- "volumes": [
- "$$cap_appname-thumbor:/data"
- ],
+ "volumes": ["$$cap_appname-thumbor:/data"],
"restart": "always",
"environment": {
"THUMBOR_PORT": "80"
@@ -22,12 +20,13 @@
"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": [{
- "id": "$$cap_thumbor_version",
- "label": "Thumbor Version",
- "defaultValue": "6.7.0",
- "description": "Checkout their Docker page for the valid tags https://hub.docker.com/r/minimalcompact/thumbor/tags/",
- "validRegex": "/^([^\\s^\\/])+$/"
- }]
-
+ "variables": [
+ {
+ "id": "$$cap_thumbor_version",
+ "label": "Thumbor Version",
+ "defaultValue": "6.7.0",
+ "description": "Checkout their Docker page for the valid tags https://hub.docker.com/r/minimalcompact/thumbor/tags/",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ }
+ ]
}