Home > other >  With the Docker deployment Gitlab port Settings
With the Docker deployment Gitlab port Settings

Time:02-25

After using the Docker deployment Gitlab LAN access to, but can't use the git clone synchronous
Should be how to set up?
22 port 8080, and there are other programs take
Docker mapping parameters:
 
211-80 - p \
-p 212:22 \


The/var/opt/gitlab/gitlab - rails/etc/gitlab yml set
 
Gitlab:
# # Web server Settings (note: the host is the FQDN, do not include http://)
Host: mygitlab.com
Port: 80
HTTPS: false

# Uncommment this line below the if your SSH host is the company from the HTTP/HTTPS one
# (you 'd obviously need to replace ssh.host_example.com with your own host).
# Otherwise, SSH host will be set to the ` host: ` value above
Ssh_host:



/ect/gitlab/gitlab. Rb Settings

 
External_url 'http://mygitlab.com'


Then on access to computer changed the host mygitlab.com to the deployment of 192.168.0.167 (deployment docker computer)

Then login access is normal, but the git clone tip

Remote: HTTP Basic: Access denied
Fatal: Authentication failed for 'http://mygitlab.com/wujh/test-project.git/'

If they were going to do some port forwarding Settings?
  • Related