Video coming soon…

👨‍💻 Setup Gitness — Git Hosting with Built-In CI/CD

Deploy Gitness on Ubuntu with Docker — Harness's open-source Git platform combining repository hosting, pull requests, and container-native CI/CD pipelines in a single binary.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command deploys Gitness on port 3047 with Docker socket access so pipelines can run.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/gitness/gitness-ubuntu.sh
chmod +x gitness-ubuntu.sh
sudo bash gitness-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/gitness/gitness-ubuntu.sh

2 Make it Executable

chmod +x gitness-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, pulls the harness/gitness image, and starts it on port 3047 with a persistent ./data volume and the Docker socket mounted so CI pipelines can spawn containers.

sudo bash gitness-ubuntu.sh

4 Create the Admin Account

Open your browser and navigate to Gitness, then register the first account — it becomes the administrator:

http://<your-server-ip>:3047

Ports Used

PortPurpose
3047Web UI + Git HTTP + API (host → container 3000)
docker.sockMounted so CI pipelines can create containers

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions