One Click Apps
Go to file
Kasra Bigdeli 6d5069a136 Added scripts 2019-01-12 23:23:58 -08:00
v1 Added scripts 2019-01-12 23:23:58 -08:00
.gitignore Added scripts 2019-01-12 23:23:58 -08:00
README.md Update README.md 2019-01-08 21:33:31 -08:00
index.js Added scripts 2019-01-12 23:23:58 -08:00
package-lock.json Added scripts 2019-01-12 23:23:58 -08:00
package.json Added scripts 2019-01-12 23:23:58 -08:00

README.md

Test Repo for CaptainDuckDuck V1 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 structure as 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.