Try describing what you need:

GitProxy logo

GitProxy

★ 273
Apache License 2.0Open Source — No Paywall9 Containers — 9 containers — heavy hosting footprintBinary · SourceNeeds MongoDB1 documented maintainer

About

GitProxy is a proxy layer for Git traffic that enforces security and compliance rules on outgoing push operations. It is intended for teams and organizations that need to apply controls such as...

Community Ratings

No ratings yet

Features

  • push protection
  • policy enforcement
  • HTTP/HTTPS support
  • SSH support
  • basic authentication
  • JWT token support
  • SSH key authentication
  • secret detection
  • commit validation
  • audit logging

Details

Last Updated
Nov 28, 2026
Created
Apr 17, 2020
Install Methods
binarysource
Requirements
Node.js
Default Port
8000HTTP proxy for Git pushes
Authentication
ldapproxy-authlocal
Runtime / Stack
NodejsDocker
Privacy & Independence
No Cloud RequiredOffline Capable
Deployment

Deployment: Docker Compose ✓9 Containers — heavy hosting footprintRuns as 9 containers

Run GitProxy yourself

Pick how much you want to manage.

2 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.

Is this your project? Sponsor a listing

Run GitProxy with Docker Compose

Compose file from the GitProxy project repository.

9 services · database: mongo · infra: mongo · 8 unclassified (alpine, node, opentelemetry-collector-contrib, promtail, tempo, prometheus, loki, grafana)

no resource limits declared

needs persistent storage (14 volumes)

experimental/license-inventory/docker-compose.yaml · @ 1074b9b · scanned Nov 3, 2026

services:
  init:
    image: alpine:3.21@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c
    init: true
    volumes:
      - mongo-logs:/var/log-mongo
      - tempo-data:/var/tempo
    command: >
      chmod 777 /var/log-mongo && chown -R 10001:10001 /var/tempo

  app:
    container_name: license-inventory
    image: node:23-alpine@sha256:0a29d8a047149079bf48dab598f287815e39867d547e8f3935cfdece0a4379cc
    # ensure colours show
    tty: true
    command: >
      sh -c "npm install --include=optional && npm run dev"
    environment:
      MONGO_URI: mongodb://mongo:27017/inventory
      OTEL_TRACES_EXPORTER: otlp
      OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector:4318
      OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
      OTEL_SERVICE_NAME: license-inventory
      OTEL_RESOURCE_ATTRIBUTES: service.version=0.0.0
    ports:
      - 3000:3000
    working_dir: /usr/src/app
    volumes:
      - .:/usr/src/app
      # have a separate node dependencies
      # avoids permissions conflicts
      - node-deps:/usr/src/app/node_modules
    depends_on:
      - mongo
      - otel-collector

  mongo:
    image: mongo:8.0.4@sha256:aaad67f2dca93148e5343c03210bcfc89a0107516a4756bfa018acd6579e5b18
    command: --logpath=/var/log/mongo.log
    ports:
      - 27017:27017
    volumes:
      - mongo-data:/data/db
      - mongo-logs:/var/log
    depends_on:
      - init

  otel-collector:
    image: otel/opentelemetry-collector-contrib:0.120.0@sha256:85ac41c2db88d0df9bd6145e608a3cb023f5d8443868adbfbbf66efb51087917
    volumes:
      - ./dev/otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
    depends_on:
      - loki
      - tempo

  promtail:
    image: grafana/promtail:3.4.2@sha256:c6e9a987ca086cbfef945b8ebd708eb09f98b5e78bfb659e4e5a8b3bd604d11b
    command:
      - -config.file=/etc/promtail/config.yaml
      - -log.level=warn
    volumes:
      - ./dev/promtail.yaml:/etc/promtail/config.yaml
      - mongo-logs:/var/log-mongo
    depends_on:
      - loki

  # traces
  tempo:
    image: grafana/tempo:2.7.1@sha256:4443be217c396b065ee34845534199c36fdba4dc619cb96550e228d73fba6e69
    command:
      - -config.file=/etc/tempo.yaml
      - -log.level=warn
    volumes:
      - ./dev/tempo.yaml:/etc/tempo.yaml
      - tempo-data:/var/tempo
    depends_on:
      - init
      - prometheus

  # metrics
  prometheus:
    image: prom/prometheus:v3.2.0@sha256:5888c188cf09e3f7eebc97369c3b2ce713e844cdbd88ccf36f5047c958aea120
    command:
      - --config.file=/etc/prometheus.yaml
      - --enable-feature=exemplar-storage
      - --enable-feature=native-histograms
      - --web.enable-remote-write-receiver
      - --enable-feature=otlp-write-receive
      - --web.enable-otlp-receiver
      - --log.level=warn
    volumes:
      - ./dev/prometheus.yaml:/etc/prometheus.yaml
    ports:
      - 9090:9090

  # logs
  loki:
    image: grafana/loki:3.4.2@sha256:58a6c186ce78ba04d58bfe2a927eff296ba733a430df09645d56cdc158f3ba08
    command:
      - -config.file=/etc/loki/loki.yaml
      - -log.level=warn
    ports:
      - 3100:3100
    volumes:
      - ./dev/loki.yaml:/etc/loki/loki.yaml

  # everything dashboard
  grafana:
    image: grafana/grafana:12.0.2@sha256:b5b59bfc7561634c2d7b136c4543d702ebcc94a3da477f21ff26f89ffd4214fa
    ports:
      - 3001:3000
    volumes:
      - ./dev/grafana/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
    environment:
      - GF_AUTH_ANONYMOUS_ENABLED=true
      - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
      - GF_AUTH_DISABLE_LOGIN_FORM=true
      - GF_FEATURE_TOGGLES_ENABLE=traceqlEditor metricsSummary
      - GF_INSTALL_PLUGINS=grafana-lokiexplore-app,grafana-exploretraces-app
      # seem to get auth warnings even though we're on anonymous auth
      - GF_LOG_LEVEL=error
    depends_on:
      - loki
      - tempo
      - prometheus

volumes:
  mongo-logs:
  mongo-data:
  tempo-data:
  node-deps:

This file may be out of date. Check the GitProxy documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Jul 20, 2026

Related Software

Gerrit logo

Gerrit

1.2k
Gerrit is a code review and project management tool for Git-based projects.
Dev Project ManagementSelf Hosting SolutionsPermissive License
Details
walgit logo

walgit

2.7k
walgit is a Git server that stores repository data in an object store and serves repositories through a disposable local cache.
Self Hosting SolutionsFile & Object StorageAuthentication Services
2 Containers
Details
Gitea logo

Gitea

59.4k
A self-hosted Git service for managing repositories, issues, pull requests, and related collaboration workflows.
Dev Project ManagementPermissive LicenseSelf Hosting Solutions+1
Details
minimal-git-server logo

minimal-git-server

51
A minimal containerized Git server with a basic CLI for managing repositories.
Dev Project ManagementSelf Hosting SolutionsPermissive License
Details
SCM Manager logo

SCM Manager

191
A self-hosted web application for sharing and managing Git, Mercurial, and Subversion repositories.
Dev Project ManagementPermissive LicenseSelf Hosting Solutions
Open Core
Details
Gogs logo

Gogs

48.0k
Gogs is a simple, stable, self-hosted Git service for managing repositories, users, and collaboration.
Dev Project ManagementPermissive LicenseSelf Hosting Solutions
Details
gitbucket logo

gitbucket

9.4k
GitBucket is a Scala-based Git web platform with repository hosting, issue tracking, pull requests, wiki, and GitHub API compatibility.
Dev Project ManagementPermissive LicenseWikis+1
Details
Teleport logo

Teleport

21.2k
Teleport is an identity-aware access platform for securing and auditing access to infrastructure, applications, databases, Kubernetes, and cloud services.
Miscellaneous ToolsRemote AccessAuthentication Services+3
Open Core
Details
Flipt logo

Flipt

5.0k
Flipt v2 is a Git-native feature management platform for storing, versioning, and deploying feature flags alongside code.
Feature TogglesSelf Hosting SolutionsCopyleft License
Open CoreTelemetry: Opt-Out
Details
Infisical Community Edition logo

Infisical Community Edition

31.0k
Infisical is an open-source secret management platform for syncing secrets and configs across teams and infrastructure, with support for PKI, KMS, SSH certificates, and secret leak prevention.
Miscellaneous ToolsPermissive LicenseSecret Management+4
FOSS with Issues
Details
Kallithea logo

Kallithea

Source code management system that supports two leading version control systems, Mercurial and Git, with a web interface.
Dev Project ManagementCopyleft LicenseSelf Hosting Solutions
Details
RhodeCode logo

RhodeCode

Unify and simplify repository management for Git, Subversion, and Mercurial.
Dev Project ManagementCopyleft LicenseSelf Hosting Solutions
Details