docker.images/gitlab
TBS093A b56bb5331e remove comments from gitlab docker-compose 2023-03-09 16:35:48 +01:00
..
.env.example add gitlab & gitlab.runner & rocket.chat images defined in docker-compose 2023-03-09 16:21:40 +01:00
README.md add README.md to gitlab 2023-03-09 16:33:02 +01:00
docker-compose.yml remove comments from gitlab docker-compose 2023-03-09 16:35:48 +01:00
down.all.sh add gitlab & gitlab.runner & rocket.chat images defined in docker-compose 2023-03-09 16:21:40 +01:00
up.all.sh add gitlab & gitlab.runner & rocket.chat images defined in docker-compose 2023-03-09 16:21:40 +01:00

README.md

Gitlab configuration

SSH config

Add these lines into ~/.ssh/config file

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:

Host gitlab
  HostName 192.168.1.103
  PreferredAuthentications publickey
  IdentityFile ~/.ssh/git_accesses
  Port 2222

And you can use gitlab like that:

git clone git@gitlab:devops-things/docker_images.git