Skip to content

Instantly share code, notes, and snippets.

@sebastianczech
Last active June 11, 2020 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastianczech/c6c1add0c8052fc61ef7695bea15e8fc to your computer and use it in GitHub Desktop.
Save sebastianczech/c6c1add0c8052fc61ef7695bea15e8fc to your computer and use it in GitHub Desktop.
GitLab on-premises
pacman -S gitlab

Installation through Docker

docker pull gitlab/gitlab-ce
docker run --hostname homelab --publish 9743:443 --publish 9780:80 --publish 9722:22 --name gitlab --restart always --volume config:/etc/gitlab --volume logs:/var/log/gitlab --volume data:/var/opt/gitlab gitlab/gitlab-ce:latest

vi /etc/gitlab/gitlab.rb
external_url 'http://homelab:9780/'
nginx['listen_port'] = 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment