There are few options around to have your own Git repositories.

All powered by F/OSS.

  1. Harness - Let’s see how to setup Gitness

Previously, I covered how to setup:

  1. Gitea
  2. Gitlab
  3. Gogs

Star History Chart

The Gitness (ex-Drone) Project

You can find the Gitness project details and source code at:

Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries.

version: "3.8"  # Or your preferred Docker Compose version

services:
  gitness:
    image: harness/gitness:latest  # Use the latest tag or a specific version
    container_name: gitness
    ports:
      - "3000:3000"  # Map host port 3000 to container port 3000
    volumes:
      - gitness_data:/var/lib/gitness # Persist data using a named volume
    environment:
      - GITHUB_CLIENT_ID=<YOUR_GITHUB_CLIENT_ID> # Optional: For GitHub integration
      - GITHUB_CLIENT_SECRET=<YOUR_GITHUB_CLIENT_SECRET> # Optional: For GitHub integration
      - DISABLE_TLS=true # Optional: Disable TLS (for development/testing only - NOT recommended for production)
      # Add other environment variables as needed (see Gitness documentation)
    restart: unless-stopped

volumes:
  gitness_data:  # Define the named volume

Gitea

These are the Gitea project details:

Gitlab

https://fossengineer.com/selfhosting-gitlab-docker

Gogs

See the Gogs project details and source code at:

Conclusions


FAQ

What are some Gitness (F/OSS) Alternatives?

  • You can be interested to Self-Host Gitea
  • And Also you can Self-Host Gitlab
  • or Gogs

Complementary F/OSS Tools for GIT

CI/CD with Open Source

F/OSS Data Pipelines