Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mkdir -p $GITLAB_HOME/config/ssl
cp gitlab.centos.com.* $GITLAB_HOME/config/ssl/

설치

Code Block
languagebash
sudo docker run --detach \
  --hostname gitlab.centos.com \
  --publish 443:443 --publish 80:80 --publish 22:22 --public 5050:5050 \
  --name gitlab \
  --restart always \
  --privileged \
  --volume $GITLAB_HOME/config:/etc/gitlab \
  --volume $GITLAB_HOME/logs:/var/log/gitlab \
  --volume $GITLAB_HOME/data:/var/opt/gitlab \
 --env GITLAB_OMNIBUS_CONFIG="external_url 'https://gitlab.centos.com'; letsencrypt['enable'] = false; registry_external_url 'https://gitlab.centos.com:5050';" \
  gitlab/gitlab-ee:latest

...