Difference between revisions of "GitLab installation"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
* https://about.gitlab.com/install/
  
 
+
== Ubuntu ==
 
+
sudo apt-get update && sudo apt-get install -y curl openssh-server ca-certificates tzdata perl
 
+
[[curl]] https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
 +
sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ee
  
 
== Docker ==
 
== Docker ==
 
* https://docs.gitlab.com/ee/install/docker.html
 
* https://docs.gitlab.com/ee/install/docker.html
* <code>[[docker pull]] gitlab/gitlab-ee</code>
+
* <code>[[docker pull gitlab/gitlab-ee]]</code>
 +
Default username: <code>root</code>
  
docker images
+
== [[GitLab docker compose example|Docker-compose]] ==
REPOSITORY          TAG                IMAGE ID            CREATED            SIZE
 
gitlab/gitlab-ee    latest              eb78f3eea74b        4 days ago          2.39GB
 
 
 
 
 
 
 
== [[Docker-compose]] ==
 
<pre>
 
web:
 
  image: 'gitlab/gitlab-ce:latest'
 
  restart: always
 
  hostname: 'gitlab.example.com'
 
  environment:
 
    GITLAB_OMNIBUS_CONFIG: |
 
      external_url 'https://gitlab.example.com'
 
  ports:
 
    - '80:80'
 
    - '443:443'
 
    - '22:22'
 
  volumes:
 
    - '/srv/gitlab/config:/etc/gitlab'
 
    - '/srv/gitlab/logs:/var/log/gitlab'
 
    - '/srv/gitlab/data:/var/opt/gitlab'
 
</pre>
 
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[/etc/gitlab/gitlab.rb]]</code>
 
* <code>[[/etc/gitlab/gitlab.rb]]</code>
 +
* [[PostgreSQL]]
 +
* [[Upgrade GitLab]]
  
 
== See also ==
 
== See also ==
 
* {{GitLab}}
 
* {{GitLab}}
 
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Latest revision as of 07:20, 27 August 2022

Advertising: