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.
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
| Port | Purpose |
|---|---|
| 3047 | Web UI + Git HTTP + API (host → container 3000) |
| docker.sock | Mounted so CI pipelines can create containers |