All docs

Deploy your first app

Last updated: November 16, 2026

This guide starts after your MapleDeploy server is ready. If you have not created a server yet, start with Create your server.

By the end, you will have an application running on your MapleDeploy server using Coolify.

What you will need

  • A Git repository hosted on GitHub, GitLab, Bitbucket, Gitea, or another Git host.
  • A Dockerfile in your repository, or a project that Railpack can detect.
  • The port your application listens on, such as 3000, 5000, or 8080.

GitHub connects to Coolify through a GitHub App, which sets up webhooks for automatic deploys. GitLab can connect through a GitLab App, with a webhook you add in GitLab, and Gitea and Forgejo (including Codeberg) through a Gitea / Forgejo App in the same way. For other Git providers, public repositories can use Public Git Repository and private repositories use deploy keys.

Step 1: Open Coolify

Sign in to the MapleDeploy dashboard, open your server, and select the Coolify dashboard link.

Close-up of server details showing Pro plan, Toronto region, IP address, and Coolify dashboard link
Open Coolify from your server details page.

Step 2: Connect your Git provider

If your code is on GitHub, start there. In Coolify, go to Sources, select New Source and choose GitHub App. GitHub will ask which repositories the app can access. For GitLab, choose GitLab App from the same menu, then copy the webhook URL and secret token shown on its page into your GitLab project's webhook settings. For Gitea or Forgejo, choose Gitea / Forgejo App, then add the webhook URL and secret shown on its page in your Gitea or Forgejo webhook settings.

Once a GitHub App is connected, Coolify can pull from those repositories and create webhooks for automatic deploys when you push to the selected branch.

Coolify Sources page content showing a connected GitHub source with an add button
Connected Git sources are reused across future applications.

For Bitbucket and other Git providers, public repositories can use Public Git Repository. For private repositories, choose Private Git Repository (with Deploy Key). Coolify generates a public deploy key. Add that key to your repository settings with read access.

For GitLab or Gitea without an app, and for Bitbucket, use the Manual Git webhooks section in Coolify, set the matching webhook secret, and configure push events in your Git provider. For other Git providers, use the auth-required deploy webhook with a Coolify API token through your provider's workflow or webhook system.

Step 3: Create the application

In Coolify, create a project. Projects group related resources.

Inside the project, choose New Resource, then select the repository type:

  • Public Git Repository for a public repo.
  • Private Git Repository (with Deploy Key) for a private repo from any Git provider.
  • Git Repository (with GitHub App) for a repo connected through a GitHub App.
  • Git Repository (with GitLab App) for a project connected through a GitLab App.
  • Git Repository (with Gitea / Forgejo App) for a repository connected through a Gitea / Forgejo App.

Select the repository and branch to continue.

Close-up of six application source cards, five Git-based and one Dockerfile, each with a description and a Configure button
Choose the repository type that matches your Git setup.

Step 4: Configure the build

Coolify needs to know how to build your app and which port it should route traffic to.

Build pack

If your repository has a Dockerfile, select Dockerfile as the Build pack. This is the most predictable option because your repository controls the build.

If the Dockerfile is not in the repository root, give its path from the base directory, such as /docker/Dockerfile. You can change it later in Dockerfile location, under Build & deploy in the application's General settings.

If you do not have a Dockerfile, keep the default, Railpack. Railpack auto-detects common project types. Nixpacks (deprecated) is still listed, but Railpack is its successor. For monorepos or unusual builds, use a Dockerfile.

Exposed port

Set the port your app listens on. With Railpack, the Port field on the build form sets it. With a Dockerfile, or to change it later, open the application's General settings, select Edit Networking under Access, and set Ports exposes. Common ports:

  • Node.js Express or Next.js: 3000
  • Python Flask: 5000
  • Go HTTP server: 8080

This must match your app exactly. If the port is wrong, the container may start but the app will not be reachable.

Close-up of the Networking dialog showing Ports exposes set to 3000, Port mappings, and Network aliases fields
Set Ports exposes to the port your application listens on.

Step 5: Deploy

Select Deploy. Coolify pulls your code, builds the image, starts the container, and shows logs while it works.

When deployment finishes, open the Links menu at the top of the application page. Coolify gives you a temporary URL that works immediately.

Close-up of the open Links dropdown showing a temporary sslip.io URL before custom domain setup
The temporary URL is useful for checking the app before adding a custom domain.

Step 6: Verify the app

Open the temporary URL. If the app loads, your deployment is working.

If it does not load, check the most common causes first:

  • Build errors: Read the build logs and fix missing dependencies or failed commands.
  • Port mismatch: Set Ports exposes (Edit Networking, under Access) to the exact port your app binds to.
  • Missing environment variables: Add required variables in Environment Variables, then redeploy.
  • Localhost binding: Bind the app to 0.0.0.0, not only 127.0.0.1 or localhost.

Next steps

For a production URL, follow Custom domains.

For databases, set up backups before you store important data. See the backup guide.