caprover / one-click-apps

Community Maintained One Click Apps (https://github.com/caprover/caprover)
Apache License 2.0
557 stars 546 forks source link

Repo for CapRover One Click Apps

How to create a one-click app (as of v1.8.0):

First, have a look at this simple example. Now, read on for more details:

Variables:

Services:

Even though, the format used by One Click apps is Docker Compose, not all parameters defined in Docker Compose file are parsed out by CapRover. Only the following parameters are used:

Other parameters are currently being ignored by CapRover. If you need a particular parameter, please file an issue, and we'll add it to the respected list.

Aside the the Docker Compose template, services have a special subsection specific to CapRover called caproverExtra which contains service specific parameters that are only available via CapRover and not docker compose. Currently this field can take the following variables:

Icon


Test your One Click Apps

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


Build your own one-click app repository

You may want to build your own private repository. CapRover supports having multiple repositories. You can add new repository URLs to the one click app page. The official one, this one, is available as https://oneclickapps.caprover.com.

To create your own repository:

Hosting your own repository on a CapRover instance

Your own private repository can be hosted on a CapRover instance with the newly-added captain-definition file.

To set up your private repository on CapRover:

Third party One Click Apps

In order to add a third party repository:

3rd party repositories