Open alex-dna-tech opened 3 months ago
Related to #3462 , #3428
As default port 3000
. It is required to define an external port for the environment explicitly if you need to change it. The Docker port map does not work.
docker run -d -p 8333:8333 -e GITNESS_HTTP_PORT=8333 -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/gitness:/data --name gitness --restart always harness/gitness:latest
http://host.docker.internal:3000/login
redirection doesn't work for the git clone of the pipeline
Some versions of docker require the definition of host.docker.internal
with the parameter --add-host=host.docker.internal:host-gateway
. It add host.docker.internal
name to /etc/hosts
file with internal docker gateway IP.
Steps to introduce
Follow Docs - Quick Start tutorial.
Result