Skip to content
Distr

Create a Application

This guide walks you through creating applications in Distr. You can create two types of applications: Docker applications (using Docker Compose) and Helm applications (using Kubernetes Helm charts).

In the Distr web interface, navigate to the Applications section in the sidebar and click on the Add application button in the top right corner.

You will be asked to enter a name and select the type of the application (Docker or Kubernetes/Helm).

In Distr, a Docker app consists of versions, each defined by a Docker Compose file. Therefore, if you want to onboard a new Docker App, you need to have a Docker Compose file of your software ready.

In the Distr web interface, navigate to the Applications section in the sidebar and click on the Add application button in the top right corner.

You will be asked to enter a name and select the type of the application:

Add application

After you have clicked on the Create Application button, you will be redirected to the detailed view of this application. In this view you can manage the versions of the application.

Application Detail View

To add a first version to your Docker App, enter the version name and your Docker Compose file in the “New Version” form. In this example we will upload a file containing Gitea and a Postgres database, whose source can be found here (we additionally pin the version to 1.23.1 and make the password an environment variable).

You can optionally add a template for the environment variables that your Docker Compose file uses. The template will be shown to the user when they deploy this version to a deployment environment. In this example we enter a reminder for the user to set the database password, as the deployment would fail otherwise.

Add version

Click on the Create New Version button to add the version to your Docker App.

After you have created the version, you can see it in the list of versions:

Version list

You can use the Copy from button to create a new version based on the existing one.

If you are looking for a more automated and integrated experience in creating new versions, take a look at our GitHub Action or SDKs.

Once you’ve created your application and added versions, you’re ready to create deployments. See the Create Deployment guide for instructions on deploying your applications to customer environments.