Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.25 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.25 KB

HarborMaster

HarborMaster is a simple frontend for a private docker registry.


Installation

Docker

Docker images are available on GHCR. The usage is described below.

Compiling and running locally

For compiling the source, first download all dependencies:

go mod download

After that the compilation and execution can be done via the Makefile:

make
make run

A cleanup is also possible:

make clean

Usage

./HarborMaster -help

Usage of ./HarborMaster:
  -needed_header string
        Header that needs to be set for requests to be allowed (default "X-TAC-User")
  -password_file string
        Password of the docker registry (default "/run/secrets/hm_registry_password")
  -port int
        Port on which the application will run (default 4181)
  -url string
        URL of the docker registry (default "localhost:8080")
  -username_file string
        Username of the docker registry (default "/run/secrets/hm_registry_username")

The default needed header is set to work with TraefikAccessControl!