Skip to main content

How to use custom DNS

Harness Open Source can be configured to use a custom hostname.

Hostname

Set the GITNESS_URL_BASE environment variable to your hostname, including protocol (such as http://).

docker run -d \
-e GITNESS_URL_BASE=http://harness.company.com \
-p 3000:3000 -p 3022:3022 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /mnt/harness-data:/data \
--name opensource \
--restart always \
harness/harness
AIDA logo
AIDA logo

Harness AIDA Chatbot

AI Development Assistant


Today, March 17, 9:45pm

AIDA logo

Accelerate your software delivery with the powerful capabilities of Harness’s Platform.

AIDA logo

How can I help?

Log into your Harness Account to access AIDA