{
  "id": "gitness",
  "name": "Gitness",
  "slogan": "Harness Open Source, a Git host with code review, pipelines and an artifact registry in one binary. Apache-2.0 licensed. Uses an embedded SQLite database on the data volume. The first user to register becomes the admin, then turn off sign-ups. Pipelines that run containers need Docker access, which this template does not grant.",
  "category": "Developer Tools",
  "categorySlug": "developer-tools",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "Apache-2.0",
    "class": "permissive"
  },
  "memoryMiB": 384,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install gitness --name my-gitness",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/gitness/",
  "docsUrl": "https://docs.harness.io/open-source",
  "sourceRepo": "https://github.com/harness/harness",
  "markdownUrl": "https://levelrail.com/templates/gitness.md",
  "jsonUrl": "https://levelrail.com/templates/gitness.json",
  "indexable": true,
  "description": "Harness Open Source, a Git host with code review, pipelines and an artifact registry in one binary. Apache-2.0 licensed. Uses an embedded SQLite database on the data volume. The first user to register becomes the admin, then turn off sign-ups. Pipelines that run containers need Docker access, which this template does not grant.",
  "pinnedTag": "3.3.0",
  "licenseUrl": "https://github.com/harness/harness/blob/main/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "gitness",
      "image": "harness/harness",
      "tag": "3.3.0",
      "ports": [
        3000
      ],
      "volumes": [
        "data -> /data"
      ]
    }
  ],
  "env": [
    {
      "service": "gitness",
      "name": "GITNESS_URL_BASE",
      "kind": "preset"
    },
    {
      "service": "gitness",
      "name": "GITNESS_USER_SIGNUP_ENABLED",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install gitness --name my-gitness",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/gitness/install \\\n  -d '{\n    \"name\": \"my-gitness\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install gitness --name my-gitness",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain gitness=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/gitness/install \\\n  -d '{\n    \"name\": \"my-gitness\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
