gitlab install via docker

gitlab-ctl diff-config

docker logs -f gitlab

docker run –detach \ –hostname gitlab.example.com \ –publish 443:443 –publish 80:80 –publish 22:22 \ –name gitlab \ –restart always \ –volume $GITLAB_HOME/gitlab/config:/etc/gitlab \ –volume $GITLAB_HOME/gitlab/logs:/var/log/gitlab \ –volume $GITLAB_HOME/gitlab/data:/var/opt/gitlab \ gitlab/gitlab-ce:latest

Leave a Reply

Your email address will not be published. Required fields are marked *