Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How to Deploy Custom Docker Application From Git Repository With xCloud

Deploying custom Docker projects doesn’t have to be complicated. With xCloud, you can pull your Docker Compose setup directly from a Git repository and have your application running in minutes. 

Follow this guide walks you through the entire process, from creating a Docker + NGINX server to deploying your application and going live.

Step 1: Create a Docker+ NGINX Server #

First, you need to create a Docker server to deploy Custom Docker. Click the โ€˜Add New Serverโ€™ button on the dashboard and enter all the necessary credentials to connect your server. You can deploy Custom Docker either on your own server or on an xCloud server.

Next, choose your server provider to deploy Custom Docker with xCloud. You can either use an xCloud Managed Server or select your preferred provider. In this guide, weโ€™ll use the xCloud Managed Server.

Afterward, enter the โ€˜Server Nameโ€™, set the โ€˜App Typeโ€™ to Custom Docker(it is optional to select), and add any relevant โ€˜Tagsโ€™ to help identify your server later. 

Next, choose between the โ€˜Generalโ€™ and โ€˜Premiumโ€™ options based on your requirements. Then, select a plan that best fits your needs.

Next, choose the โ€˜Regionโ€™ and โ€˜Ubuntu Versionโ€™ for your server. CHoose the โ€˜Ubuntu versionโ€™ โ€˜Database Serverโ€™ as your preferences. You can also enable or disable the Backup option as needed.  

Next, you can see the โ€˜Docker + NGINXโ€™ stack is already selected, which is mandatory for deploying the Custom Docker application.  Then click on the โ€˜Createโ€™ button to proceed.

Once the server is created, you will be able to deploy your Custom Docker Application on this server.

After creating a server, it may take a while to become fully operational. Wait a few minutes before deploying your applications to ensure everything starts correctly.

Step 2: Create a New Site #

Begin by logging into your xCloud account. Once logged in, navigate to your dashboard and click on the โ€˜New Siteโ€™ button.

#

Step 3: Choose Your Server #

Then choose your server from the dropdown menu. Next, click on the โ€˜Nextโ€™ button to proceed to start creating Custom Docker applications.

Step 4: Go to The Custom Docker Tab #

From here, go to the โ€˜Custom Dockerโ€™ tab and click on the โ€˜Docker Compose From Gitโ€™ to deploy your Custom Docker applications. 

Step 5: Set Up the Docker Compose Application #

In the site setup screen, you will be prompted to enter basic site information. Provide a โ€˜Site Titleโ€™ and add relevant โ€˜Tagsโ€™ to help organize your deployment.

Step 6: Set Up Domains #

From the โ€˜Domainsโ€™ tab, you will get two options: either you can create a โ€˜Demo Siteโ€™ with a test domain and refine it until it is ready for launch, or, you can migrate into a new domain to get your site up and running in a new domain. 

Or you can create your site with your live domain. Just proceed with the โ€˜Go Liveโ€™ option.

It is recommended to proceed with your own domain. Top begin, click choothe โ€˜Go Liveโ€™ and enter your preferred domain name. Then complete the DNS verification process.

Then you will get a โ€˜Site Userโ€™ of xCloud and click on the โ€˜Nextโ€™ button to proceed.

Step 6: Insert Git Repository Credentials #

In the Git Repo tab, you will see three options: Private Repository (SSH), Public Repository (HTTPS), and Connected Git Provider. For a Public Repository, enter the GitHub HTTPS URL and select the branch. For a Private Repository, enter the GitHub SSH URL and select the branch. In this guide, use Connected Git Provider. Choose your linked account, select the repository, and then pick the branch to deploy.

Next enter the name of your Docker Compose file in the repository root โ€˜Composer File Nameโ€™ in the dedicated field. 

Next, go to the โ€˜Port Detectionโ€™ section and click on the  โ€˜Auto-Detect Portsโ€™ button. It will 

Scan docker-compose.yml to discover exposed ports for your Nginx reverse proxy.

Next you will get few ports that detected from your docker file. You can select the โ€˜Primary Service Portโ€™ from the dropdown menu. 

Next under the โ€˜Additional services, you can map for additional ports to different domains or subdomains. Enter the โ€˜Domain/Subdomainโ€™ and โ€˜Portโ€™ in the dedicated fields.

Then toggle on the โ€˜Environment Fileโ€™ to enable if you want to enter environment variables for your Docker Compose services.

Then, go to the โ€˜Deployment script section,. In the โ€˜Deployment Scriptโ€™ field, enter any custom commands you want to run after deployment. here you can add custom commands to run after deployment (e.g., restart containers, rebuild images).

Once the deployment process is complete, your Custom Docker application will be live. From the site dashboard, click Visit Site to access your application in the browser.

You’ve successfully deployed a Custom Docker project from a Git repository using xCloud. With your application now live, you can manage updates by pushing changes to your Git repository and redeploying through the xCloud dashboard. If you run into any issues, review your Docker Compose file, port configuration, and environment variables to ensure everything is set up correctly.

What are your feelings

Updated on April 23, 2026

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00