One Click Apps
Go to file
Kasra Bigdeli 1d54a5b08b
Merge pull request #4 from tiloio/master
Fix couchdb.json file.
2019-01-31 19:44:14 -08:00
public Fix couchdb.json file. 2019-01-31 19:44:25 +01:00
.gitignore ignoring built auto generated file 2019-01-12 23:30:36 -08:00
README.md Update README.md 2019-01-12 23:43:50 -08:00
build_and_publish_to_github_pages.js reformat 2019-01-13 10:08:41 -08:00
package-lock.json Updated name 2019-01-12 23:50:08 -08:00
package.json renamed files, fixed adminer optinal field 2019-01-13 10:07:08 -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.