Difference between revisions of "GitLab installation"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 12: Line 12:
 
  gitlab/gitlab-ee    latest              eb78f3eea74b        4 days ago          2.39GB
 
  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 ==

Revision as of 09:44, 18 April 2021



Docker

docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
gitlab/gitlab-ee    latest              eb78f3eea74b        4 days ago          2.39GB


Docker-compose

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'

Related terms

See also

Advertising: