GitLab: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 21: Line 21:


==References==
==References==
* [https://websiteforstudents.com/setup-apache2-reverse-proxy-nginx-ubuntu-17-04-17-10/ Setup Apache2 as Reverse Proxy for Nginx]
* [https://hub.docker.com/r/gitlab/gitlab-ce GitLab CE Docker Image]
* [https://hub.docker.com/r/gitlab/gitlab-ce GitLab CE Docker Image]
* [https://docs.gitlab.com/omnibus/docker/ GitLab Docker Image]
* [https://docs.gitlab.com/omnibus/docker/ GitLab Docker Image]

Revision as of 03:54, 14 June 2020

Linux:
export GITLAB_HOME=/srv/gitlab
MacOS:
export GITLAB_HOME=$HOME/gitlab
sudo docker run --detach \
--hostname cdn.chorke.org \
--publish 4430:443 --publish 9050:80 --publish 4321:22 \
--name gitlab \
--restart always \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
gitlab/gitlab-ce:latest
ssh -L 9050:localhost:9050 [email protected]
http://localhost:9050/

References