Skip to main content

How to use SSL

Gitness can be configured to use SSL for encrypting traffic.

External SSL termination‚Äč

If you are terminating SSL traffic before your Gitness instance (such as a load balancer), you can configure Gitness to use https:// URLs with the GITNESS_URL_BASE variable.

docker run -d \
-e GITNESS_URL_BASE=https://gitness.company.com \
-p 3000:3000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /mnt/gitness-data:/data \
--name gitness \
--restart always \
harness/gitness