GitLab

From Chorke Wiki
Revision as of 03:32, 14 June 2020 by Shahed (talk | contribs) (Created page with " '''Linux:''' export GITLAB_HOME=/srv/gitlab '''MacOS:''' export GITLAB_HOME=$HOME/gitlab <source lang="bash"> sudo docker run --detach \ --hostname gitlab.example.com \...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Linux:
export GITLAB_HOME=/srv/gitlab
MacOS:
export GITLAB_HOME=$HOME/gitlab
sudo docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 --publish 22: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

References