Having local git repository server is easy enough by using docker and open source git lab project:
docker pull gitlab/gitlab-ce
#gitlab #open_source #docker
docker pull gitlab/gitlab-ce
#gitlab #open_source #docker
Tech C**P
Having local git repository server is easy enough by using docker and open source git lab project: docker pull gitlab/gitlab-ce #gitlab #open_source #docker
After pulling image into docker repository run the image using the command below:
Reference:
https://docs.gitlab.com/omnibus/docker/README.html
#gitlab #docker #image #docker_run
sudo docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 --publish 22:22 \
--name gitlab \
--restart always \
--volume /srv/gitlab/config:/etc/gitlab \
--volume /srv/gitlab/logs:/var/log/gitlab \
--volume /srv/gitlab/data:/var/opt/gitlab \
gitlab/gitlab-ce:latest
Reference:
https://docs.gitlab.com/omnibus/docker/README.html
#gitlab #docker #image #docker_run
Disable the below message in gitlab if your are annoyed with it like me:
#gitlab #merge_request #push
remote:Go to your project settings and uncheck:
remote: To create a merge request for dev, visit:
remote: https://repo.alohi.ch/alohi/backend/affogato/merge_requests/new?merge_request%5Bsource_branch%5D=dev
remote:
Display link to create/view merge request on push
#gitlab #merge_request #push