One Click Apps
Go to file
gingerlime 7c6e85b0a4 Upgrade Thumbor (#34)
* APSL/thumbor is not actively maintained and doesn't have the latest versions
* [MinimaCompact](https://github.com/MinimalCompact/thumbor) is actively maintained and works closely with the thumbor core team
* This change switches to use minimalcompact and also upgrades the default version to the latest
* Note: not sure if it's worth hard-coding an explicit version `6.7.0` or use the `latest` tag?
2019-03-16 07:48:51 -07:00
public Upgrade Thumbor (#34) 2019-03-16 07:48:51 -07:00
.gitignore ignoring built auto generated file 2019-01-12 23:30:36 -08:00
README.md Update README.md 2019-02-07 21:33:02 -08:00
npm_run_puplish.js Updated publish script 2019-02-06 17:26:46 -08:00
package-lock.json Updated name 2019-01-12 23:50:08 -08:00
package.json Updated publish script 2019-02-06 17:26:46 -08:00

README.md

Repo for CapRover One Click Apps

Process:

  • Find/create a docker-compose file for the one click app
  • Convert yaml file to json
  • Copy the content into the one click ap structure. See this for the reference: wordpress.json
  • Variables are prefixed with $$cap
  • There is one special variable called $$cap_appname which exists for all oneclick apps
  • Varibles can be anywhere in the JSON and they will be replaced by what user enters
  • Each variable must have id, label. It may also have defaultValue, validRegex, description.
  • Other than image, environment, ports, volumes, depends_on, other parameters are ignored. Make sure they are not important.
  • Instead of image in a service, you can use dockerfileLines which is an array of strings.
  • Some webapps, use a non-standard HTTP port. For example, Adminer's Docker image uses port 8080. In this case, add containerHttpPort to the service. See adminer.json for example.

Test your One Click Apps

After creating your One-Click app json, like this, you need to test it before creating a Pull Request. Here is how you test it:

  • Login to your CapRover dashboard
  • Go to apps and click on Create One Click App
  • Select the last option from the dropdown list "TEMPLATE"
  • Copy and paste your JSON there, and click NEXT.
  • Enter values and make sure it's working as expected.