improve docker.registry configuration
parent
e7af7ded4a
commit
128348cae1
|
|
@ -16,17 +16,7 @@ GITLAB_IP_OR_DNS="http://0.0.0.0"
|
||||||
|
|
||||||
## SSH config
|
## SSH config
|
||||||
|
|
||||||
Add these lines into ~/.ssh/config file
|
Add these lines into ~/.ssh/config file (If you want push / pull from remote you must define machine IP instead 0.0.0.0):
|
||||||
|
|
||||||
```bash
|
|
||||||
Host gitlab
|
|
||||||
HostName 0.0.0.0
|
|
||||||
PreferredAuthentications publickey
|
|
||||||
IdentityFile ~/.ssh/git_accesses
|
|
||||||
Port 2222
|
|
||||||
```
|
|
||||||
|
|
||||||
If you want push / pull from remote you must define machine IP instead 0.0.0.0:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
Host gitlab
|
Host gitlab
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue